Base List ControlSelected Index Property
Gets or sets the index specifying the currently selected item
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
This is a zero-based index into the items collection. A value of -1 indicates that there is no current selection.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public virtual int SelectedIndex { get; set; }VB
Public Overridable Property SelectedIndex As Integer
Get
SetC++
public:
virtual property int SelectedIndex {
int get ();
void set (int value);
}F#
abstract SelectedIndex : int with get, set
override SelectedIndex : int with get, setProperty Value
Int32This is a zero-based index into the items collection. A value of -1 indicates that there is no current selection.