New to Telerik UI for WinForms? Download free 30-day trial

DataBinding RadCheckBox

RadCheckBox supports all DataBinding features you might expect from a Windows Forms control.

DataBinding at Design-time

To add DataBindings at Design Time, expand the (DataBindings) property, and then click the ellipsis button (Advanced) to launch the Formatting and Advanced Binding dialog.

WinForms RadCheckBox DataBinding

Scroll down the property list and find the IsChecked property. From the Binding drop-down menu, select the data source, and then the property that you wish to bind. Click OK. Now the IsChecked property of your Telerik RadCheckBox is bound to your source.

Programmatic DataBinding

You can also add DataBindings to your control programmatically. The following code demonstrates binding the IsChecked property to a column in a DataTable.


this.radCheckBox1.IsThreeState = false;
DataTable t = new DataTable();
t.Columns.Add("A", typeof(bool));
t.Rows.Add(true);
t.Rows.Add(false);
t.Rows.Add(true);
this.radCheckBox1.DataBindings.Add(new Binding("IsChecked", t, "A"));

Me.radCheckBox1.IsThreeState = False
Dim t As New DataTable
t.Columns.Add("A", GetType(Boolean))
t.Rows.Add(True)
t.Rows.Add(False)
t.Rows.Add(True)
Me.radCheckBox1.DataBindings.Add(New Binding("IsChecked", t, "A"))

In this article