Interface ICheckListBox<TItem>
Interface to a control which displays a list of items with checkboxes.
public interface ICheckListBox<TItem> : ICustomListBox<TItem>, IListControl<TItem>, IControl, IDisposable, IWin32Window where TItem : class, new()
Type Parameters
TItem
Properties
- CheckedIndex
Gets or sets the zero-based index of the currently checked item in a control.
- CheckedIndices
Gets a collection that contains the zero-based indexes of all currently checked items in the control.
- CheckedIndicesDescending
Gets a collection that contains the zero-based indexes of all currently checked items in the control.
Methods
- CheckItems(params int[])
Checks items with specified indexes in the control.
- ClearChecked()
Unchecks all items in the control.
- RaiseCheckedChanged(EventArgs)
Raises the CheckedChanged event and calls related method.
- RemoveCheckedItems()
Removes checked items from the control.
- SetChecked(int, bool)
Checks or clears the check state for the specified item in a CheckListBox.
Events
- CheckedChanged
Occurs when the checkbox state of the item has changed.