Skip to content

BitMaskCheckedListBox

Radu Martin edited this page Apr 10, 2017 · 18 revisions

BitMaskCheckedListBox

Displays a ListBox which is bound to to a BitMask and in which a check box is displayed to the left of each item.

BitMaskCheckedListBox

The BitMaskCheckedListBox implements two properties that can be bounded to int or long types:

int Value - bitmask with 32 bit capabilities. Can be used for lists with 32 items.

long LongValue - bitmask with 64 bit capabilities. Can be used for lists with 64 items.

Also, BitMaskCheckedListBox implements two methods for getting and setting items. These methods can be used for lists with 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

Clone this wiki locally