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


Glossary Item Box

Gets or sets whether the user can toggle the state of the check box control by clicking the control or by pressing the spacebar when the control has the focus.

Syntax

Visual Basic (Declaration) 
Public Overridable Property AutoCheck As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpCheckBox
Dim value As Boolean
 
instance.AutoCheck = value
 
value = instance.AutoCheck
C# 
public virtual bool AutoCheck {get; set;}

Property Value

true to automatically check; false otherwise

Remarks

When this property is set to true, the user can click the control to return the focus to the control and to toggle the state of the control between true and false, or between true, false, and indeterminate in a three-state control. Pressing the spacebar toggles the state of the control when it has the focus.

When this property is set to false, you must provide code that toggles the state of the control if you want the control to change state when the user clicks the control or presses the spacebar.

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.