Nevron.UI.WinForm.Controls Namespace / NTaskDialog Class / DefaultButtonId Property


DefaultButtonId Property
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute(-1)>
<System.ComponentModel.DescriptionAttribute("Gets/sets the ID of the default button. If -1 the first button is defaulted.")>
Public Property DefaultButtonId As System.Integer
 
'Usage
 
Dim instance As NTaskDialog
Dim value As System.Integer
 
instance.DefaultButtonId = value
 
value = instance.DefaultButtonId
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