Spread Windows Forms 6.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 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

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