Table of Contents

Class CheckListBox

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Represents a control to display a list of items.

[ControlCategory("Common")]
public class CheckListBox : ListBox, IBaseObject, IDisposableObject, IInputElement, ISupportInitialize, IFocusable, IWin32Window, ITextProperty, IComponent, IDisposable, IReadOnlyStrings
Inheritance
CheckListBox
Implements
Extension Methods

Remarks

Examples of how a CheckListBox can look on different platforms:

Properties

CheckOnClick

Gets or sets a value indicating whether the check box should be toggled when an item is checked.

CheckedIndex

Gets or sets the zero-based index of the currently checked item in a ListBox.

CheckedIndices

Gets a collection that contains the zero-based indexes of all currently checked items in the CheckListBox.

CheckedIndicesDescending

Gets a collection that contains the zero-based indexes of all currently checked items in the CheckListBox.

CheckedItems

Gets the checked items of the CheckListBox.

ControlKind

Returns control identifier.

HasBorder

Gets or sets a value indicating whether the control has a border.

Methods

CheckItems(params int[])

Checks items with specified indexes in the CheckListBox.

ClearChecked()

Unchecks all items in the ListBox.

OnCheckedChanged(EventArgs)

Called when the CheckedIndex property or the CheckedIndices collection has changed.

OnHandlerAttached(EventArgs)

Called after a new control handler is attached.

RaiseCheckedChanged(EventArgs)

Raises the CheckedChanged event and calls OnCheckedChanged(EventArgs).

RemoveCheckedItems()

Removes checked items from the CheckListBox.

RemoveItems(IReadOnlyList<int>)

Removes 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 CheckedIndex property or the CheckedIndices collection has changed.