-
Notifications
You must be signed in to change notification settings - Fork 18
BitMaskCheckedListBox
BitMaskCheckedListBox displays a ListBox which is bound to a BitMask and in which a check box is displayed to the left of each item.
The BitMaskCheckedListBox implements two properties that can be bound to int or long types.
[DefaultValue(0)]
[Bindable(true), Browsable(true)]
public int Value { get; set; }
This is a bitmask with 32 bit capabilities. Can be used for lists with up to 32 items.
[DefaultValue(0)]
[Bindable(true), Browsable(true)]
public long LongValue { get; set; }
This is a bitmask with 64 bit capabilities. Can be used for lists with up to 64 items.
Also, BitMaskCheckedListBox implements two methods for getting and setting items. These methods can be used with lists of more than 64 items.
bool[] GetValues() - return an array of item's states (checked/unchecked), that represents each item from BitMaskCheckedListBox
void SetValues(bool[] Values) - set the item's state (checked/unchecked) for each item from BitMaskCheckedListBox
Extenders:
DataGridView
DataGridViewColumn
FlowLayoutPanel
TableLayoutPanel
Features:
SelectItemForm
Settings
Components:
BitMaskCheckedListBox
HeaderTableLayoutPanel
SelectItemForm