HeaderPane
Main
Hide
Share Link
Print

Selection Property, SftBoxItems Object

Defines the currently selected item.

Syntax

Get

C#int ItemIndex = object.Selection;
VB.NETItemIndex = object.Selection As Integer
C++long ItemIndex = object->Selection;
long ItemIndex = object->GetSelection();
CHRESULT object->get_Selection(long* ItemIndex);

Put

C#int object.Selection = ItemIndex;
VB.NETobject.Selection = ItemIndex As Integer
C++long object->Selection = ItemIndex;
void object->PutSelection(long ItemIndex);
CHRESULT object->put_Selection(long ItemIndex);

object

A SftBoxItems object.

ItemIndex

The zero-based index of the selected item. If no item is selected this value is -1.

Comments

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


Last Updated 11/22/2026 - (email)
© 2026 Softel vdm, Inc.