Xceed SmartUI Documentation
SmartItems
Objects and Collections > SmartItems
Properties Description
Count As Long Returns a value indicating the number of objects in a collection.
Item(ByVal KeyOrIndex As Variant) As SmartItem Returns a specific member of a Collection object either by position or by key.
Methods Description
Add(Optional ByVal Index As Long, Optional ByVal Key As String, Optional ByVal Caption As String, Optional ByVal ItemType As SmartItemType, Optional ByVal Image As Variant) As SmartItem Adds a SmartItem object to a SmartItems collection and returns a reference to the created object.
Clear Removes all objects in a collection.
Exists(ByVal KeyOrIndex As Variant) As Boolean Returns True if a specified item exists in the SmartItems Collection, False if it does not.
Remove(ByVal KeyOrIndex As Variant) Removes a specific member from a collection.
Sort(Optional ByVal FirstItem As Variant, Optional ByVal LastItem As Variant) Sorts alphabetically a group of SmartItems.