Defines the currently selected item.
Get
| C# | int ItemIndex = object.Selection; |
| VB.NET | ItemIndex = object.Selection As Integer |
| C++ | long ItemIndex = object->Selection; long ItemIndex = object->GetSelection(); |
| C | HRESULT object->get_Selection(long* ItemIndex); |
Put
| C# | int object.Selection = ItemIndex; |
| VB.NET | object.Selection = ItemIndex As Integer |
| C++ | long object->Selection = ItemIndex; void object->PutSelection(long ItemIndex); |
| C | HRESULT object->put_Selection(long ItemIndex); |
object
ItemIndex
The zero-based index of the selected item. If no item is selected this value is -1.
The Selection property defines the currently selected item.
The SelectionChange event notifies an application when the selection is changed.
See Also SftBoxItems Object | Object Hierarchy