| 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;} | |
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.
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