Spread Windows Forms 12.0 Product Documentation
Value Property (FpCheckBox)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > FpCheckBox Class : Value Property
Gets or sets the value of the check box control.
Syntax
'Declaration
 
Public Overridable Property Value As CheckValue
'Usage
 
Dim instance As FpCheckBox
Dim value As CheckValue
 
instance.Value = value
 
value = instance.Value
public virtual CheckValue Value {get; set;}

Property Value

CheckValue setting that determines the value of the check box
Remarks

This 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.

Example
control.ThreeState = true;
control.Checked = false;
control.Picture[1] = Image.FromFile("..\\check1.bmp");
 
control.ThreeState = True
control.Checked = False
control.Picture(1) = Image.FromFile("..\check1.bmp")
 
See Also

Reference

FpCheckBox Class
FpCheckBox Members
Checked Property
CheckState Property
CheckValue Enumeration