| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property CommandButtons As WebDialogBoxButtonCollection | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebDialogBox Dim value As WebDialogBoxButtonCollection value = instance.CommandButtons | |
| C# | |
|---|---|
public WebDialogBoxButtonCollection CommandButtons {get;} | |
This feature allows developer to easily add what buttons should appear in the dialogbox instead of having developer to create their own button. The advantage of the built-in CommandButtons is its tight integration with WebDesktopManager as well as correct implementation of DialogResult similar to Windows Form applications. You can easily set each Button's Type which will be used as DialogResult when the dialog box is closed.
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