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