Appearance and Behavior Settings in Windows Forms CheckBox (CheckBoxAdv)
3 Sep 2020 / 1 minute to read
This section discusses the appearance and behavior settings of the CheckBoxAdv control.
Appearance Settings
DrawFocusRectangle
You can show or hide the focus rectangle of CheckBoxAdv control using DrawFocusRectangle property.
CheckBoxAdv Property | Description |
---|---|
DrawFocusRectangle | Determines if the focus rectangle is visible when it gets the focus. The default value is set to 'True'. |
this.checkBoxAdv1.DrawFocusRectangle = true;
Me.checkBoxAdv1.DrawFocusRectangle = True
Behavior Settings
The behavior of the CheckBoxAdv control can be customized using AutoHeight, ReadOnlyMode and TriState properties.
CheckBoxAdv Properties | Description |
---|---|
AutoHeight | Determines if the CheckBoxAdv will automatically calculate its height. |
ReadOnlyMode | Specifies the Read Only Mode of the CheckBoxAdv. |
Tristate | Specifies whether the indeterminate state can be accessed through clicking. |
this.checkBoxAdv1.AutoHeight = true;
this.checkBoxAdv1.ReadOnlyMode = true;
this.checkBoxAdv1.Tristate= false;
Me.checkBoxAdv1.AutoHeight = True
Me.checkBoxAdv1.ReadOnlyMode = True
Me.checkBoxAdv1.Tristate= False
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page