Intersoft WebDesktop Documentation
DisplayMode Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebButton Class : DisplayMode Property


Glossary Item Box

Gets or sets the caption display mode for the button.

Syntax

Visual Basic (Declaration) 
Public Property DisplayMode As ButtonDisplayMode
Visual Basic (Usage)Copy Code
Dim instance As WebButton
Dim value As ButtonDisplayMode
 
instance.DisplayMode = value
 
value = instance.DisplayMode
C# 
public ButtonDisplayMode DisplayMode {get; set;}

Remarks

You can specify the DisplayMode of WebButton to use TextAndImage instead of only Text. Moreover, you can  display rich command button by displaying your own Image at the left or right part relative to the Text. You can easily specify the image's position in the ImagePosition property.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.