Edit this page

Getting Started

You can add RadCheckBox either at design time or at run time:

Design Time

  1. To add a RadCheckBox to your form, drag a RadCheckBox from the toolbox onto the surface of the form designer.
  2. In the Properties section of Visual Studio you can change the displayed text next to the check-box by setting the Text property.
  3. Double click the check-box in the designer in order to generate the ToggleStateChanged event.
  4. Click F5 to start the application.

Run Time

To programmatically add a RadCheckBox to a form, create a new instance of a RadCheckBox, and add it to the form Controls collection.

Adding a RadCheckBox at runtime

public void AddCheckBox()
    RadCheckBox checkBox = new RadCheckBox();
    checkBox.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
    checkBox.Text = "Is active";

Public Sub AddCheckBox()
    Dim checkBox As New RadCheckBox()
    checkBox.ToggleState = Telerik.WinControls.Enumerations.ToggleState.[On]
    checkBox.Text = "Is active"
End Sub