Xceed Grid for WinForms v4.3 Documentation
DialogResult Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinButton Class : DialogResult Property
Gets or sets a value that is returned to the parent form when the button is clicked.
Syntax
'Declaration
 
<DescriptionAttribute("The value that is returned to the parent form when the button is clicked.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
Public Property DialogResult As DialogResult
'Usage
 
Dim instance As WinButton
Dim value As DialogResult
 
instance.DialogResult = value
 
value = instance.DialogResult
[Description("The value that is returned to the parent form when the button is clicked.")]
[Category("Behavior")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
public DialogResult DialogResult {get; set;}

Property Value

A DialogResult representing the value that is returned to the parent form when the button is clicked.
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

Reference

WinButton Class
WinButton Members