Gets or sets whether the check box control has a third state.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property ThreeState As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpCheckBox
Dim value As Boolean
instance.ThreeState = value
value = instance.ThreeState |
C# | |
---|
public virtual bool ThreeState {get; set;} |
Property Value
true if three-state check boxes;
false for two-state
Remarks
Example
C# | Copy Code |
---|
control.ThreeState = true;
control.Checked = false;
control.Picture[1] = Image.FromFile("..\\check1.bmp");
|
Visual Basic | Copy Code |
---|
control.ThreeState = True
control.Checked = False
control.Picture(1) = Image.FromFile("..\check1.bmp")
|
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