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

Properties and Methods

Properties

This section demonstrates specific for the RadCheckedListBox control properties.

1. CheckOnClickMode

  • Off – to toggle item's CheckState the user has to click on the check-box.

  • FirstClick – each click over the item toggles its check-box.

  • SecondClick – clicking over unselected item, selects it. If item is selected each next click toggles its checkbox.

2. CheckBoxesAlignment - this new property comes in order to extend the CheckBoxesPosition, which supports 4 positions (Left, Right, Top, Bottom). CheckBoxesAlignment gives the user full control over the CheckBoxes alignment within the item.

  • Near – when CheckBoxesPosition is set to Left or Right it means Top alignment. When CheckBoxesPosition is set to Top or Bottom it means Left.

  • Center – means center of the item depending on the CheckBoxesPosition value.

  • Far - when CheckBoxesPosition is set to Left or Right it means Bottom alignment. When CheckBoxesPosition is set to Top or Bottom it means Right.

Methods

  • CheckAllItems – Checks all items.

  • UncheckAllItems – Unchecks all items.

  • CheckSelectedItems – Checks selected items.

  • UncheckSelectedItems – Unchecks selected items.

Events

  • ItemCheckedChanging: Occurs when a ListViewDataItem is about to be checked. It is a cancelable event.
  • ItemCheckedChanged: Occurs when a ListViewDataItem is checked.
In this article