Visual Basic (Declaration) | |
---|---|
Public Overridable Property Value As CheckValue |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpCheckBox Dim value As CheckValue instance.Value = value value = instance.Value |
C# | |
---|---|
public virtual CheckValue Value {get; set;} |
Property Value
CheckValue setting that determines the value of the check boxThis property gets or sets the state of the control as an integer value, as follows:
State | Value |
---|---|
False | 0 |
True | 1 |
Indeterminate | 2 |
This property is available at run time only.
Set the state of the control by setting the Checked or CheckState properties.
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") |
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