HeaderPane
Main
Hide
Share Link
Print

Items

Items are the entries of the list. Each item holds one cell in each column (ItemClass.Cells) and can have dependents (child items).

Items are added using the methods ItemCollectionClass.Add or ItemCollectionClass.InsertFirst and ItemClass.Add, ItemClass.InsertAfter, ItemClass.InsertBefore, ItemClass.InsertFirst, ItemClass.InsertLast. The SftBox.Items property returns the collection of top-level items. Items are removed using ItemClass.Remove and ItemCollectionClass.Clear.

An item can be disabled (ItemClass.Enabled); disabled items cannot be selected. The ItemClass.TagString and ItemClass.TagObjects properties hold application data, and ItemClass.DataItem returns the row of a data source an item was created from.

While a data source is set, the items belong to it and cannot be added or removed by the application (see Data Binding).