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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8