Xceed Grid for WinForms v4.3 Documentation
ThreeState Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCheckBox Class : ThreeState Property
Gets or sets a boolean value indicating whether the checkbox will allow three check states rather than two.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the checkbox will allow three check states rather than two.")>

<CategoryAttribute("Behavior")>

<DefaultValueAttribute(False)>

Public Property ThreeState As Boolean
'Usage
 
Dim instance As WinCheckBox

Dim value As Boolean

 

instance.ThreeState = value

 

value = instance.ThreeState
[Description("Indicates if the checkbox will allow three check states rather than two.")]

[Category("Behavior")]

[DefaultValue(false)]

public bool ThreeState {get; set;}

Property Value

true if the checkbox allows three check states; false otherwise.
Remarks

If the ThreeState property is set to false, the CheckState property value can only be set to CheckState.Indeterminate in code and not by user interaction.

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

WinCheckBox Class
WinCheckBox Members