Getting Started with Windows Forms CheckBox (CheckBoxAdv)

3 Sep 2020 / 2 minutes to read

This section gives detailed description on Getting Started of CheckBoxAdv control.

Assembly Deployment

Refer to the Control Dependencies section to get the list of assemblies or details of NuGet package that needs to be added as reference to use the control in any application.

Refer to NuGet Packages to learn how to install nuget packages in a Windows Forms application.

Adding CheckBoxAdv control via designer

The following steps explain how to create the CheckBoxAdv control via designer.

1) Create a new Windows Forms Project in Visual Studio.

2) Drag and drop the CheckBoxAdv from toolbox in Form designer window.

3) The dependent assemblies will be added automatically.

Windows Forms CheckBoxAdv drag and drop from toolbox

Adding CheckBoxAdv control via code

In order to add CheckBoxAdv control manually, do the below steps,

1) Add the required assembly references to the project.

2) Create the CheckBoxAdv control instance and add it to the Form.

3) Include the required namespace.

using Syncfusion.Windows.Forms.Tools;
Imports Syncfusion.Windows.Forms.Tools
CheckBoxAdv checkBoxAdv = new CheckBoxAdv() {Text="CheckBoxAdv", Height = 25, Width = 200 };
Dim checkBoxAdv As CheckBoxAdv = New CheckBoxAdv() With {.Text="CheckBoxAdv", .Height = 25, .Width = 200}

CheckBox State

You can get or set the current checked status of CheckBoxAdv using the Checked or CheckState property. The default value of Checked property is false and CheckState property is Unchecked.

this.checkBoxAdv1.Checked = true;
this.checkBoxAdv1.CheckState = System.Windows.Forms.CheckState.Checked;
Me.checkBoxAdv1.Checked = True
Me.checkBoxAdv1.CheckState = System.Windows.Forms.CheckState.Checked

Windows Forms CheckBoxAdv showing checked state of the control


To learn more about the CheckBoxAdv states click here.