Click or drag to resize
KaxListBox Methods

The KaxListBox type exposes the following members.

Methods
  Name Description
Public method ClearChecked
Clears the checked items. The Checked property of all items is set to false.
Public method ClearSelection
Clears the selection. The Selected property of all items is set to false.
Public method Delete(KaxListBoxItem)
Deletes the specified item. Fires the Deleting and Deleted events.
Public method Code example Delete(IListKaxListBoxItem)
Deletes the specified list of items. Fires the Deleting and Deleted events.
Public method Code example FindItem
Finds the first item for which the specified predicate returns true.
Public method FindItemByText
Finds the first item whose Text property is the same as the specified text.
Public method FindItemByValue
Finds the first item whose Value property is the same as the specified value.
Public method FindItemIndexByValue(String)
Finds the index of the item whose Value property is the same as the specified value.
Public method FindItemIndexByValue(String, Boolean)
Finds the index of the item whose Value property is the same as the specified value.
Public method GetCheckedIndices
Gets an array containing the indices of the currently checked items in the KaxListBox control.
Public method GetSelectedIndices
Gets an array containing the indices of the currently selected items in the KaxListBox control.
Public method LoadContentFile
Populates the KaxListBox control from an XML file
Public method Code example Reorder(Int32, Int32)
Moves the item at old index to new index by calculating the offset. Fires the Reordering and Reordered events.
Public method Code example Reorder(IListKaxListBoxItem, Int32)
Reorders the specified items with the specified offset. Fires the Reordering and Reordered events.
Public method Code example ReorderToIndex(Int32, Int32)
Moves the item at old index to new index. Fires the Reordering and Reordered events.
Public method Code example ReorderToIndex(IListKaxListBoxItem, Int32)
Reorders the specified items to the specified index. Fires the Reordering and Reordered events.
Public method Code example SortItems
Sorts the items in the KaxListBox.
Public method Code example Transfer(KaxListBoxItem, KaxListBox, KaxListBox)
Transfers the specified item from the source list box to the destination listbox. Fires the Transferring and Transferred events.
Public method Code example Transfer(IListKaxListBoxItem, KaxListBox, KaxListBox)
Transfers the specified list of items from the source to the destination listbox. Fires the Transferring and Transferred events.
Top
See Also