Spread Windows Forms 7.0 Product Documentation
Value Property
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > FpCheckBox Class : Value Property


Glossary Item Box

Gets or sets the value of the check box control.

Syntax

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

C#Copy Code
control.ThreeState = true;
control.Checked = false;
control.Picture[1] = Image.FromFile("..\\check1.bmp");
 
Visual BasicCopy Code
control.ThreeState = True
control.Checked = False
control.Picture(1) = Image.FromFile("..\check1.bmp")
 

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.