[]
Gets or sets the displayed index of the selected item. This is a dependency property.
[Localizability(LocalizationCategory.NeverLocalize)]
[Bindable(true)]
public int SelectedIndex { get; set; }
<Localizability(LocalizationCategory.NeverLocalize)>
<Bindable(True)>
Public Property SelectedIndex As Integer
Type | Description |
---|---|
int | The displayed index of the selected item. The default is -1. |
SelectedIndex is the display index.
Type | Condition |
---|---|
ArgumentOutOfRangeException | The selected index is less than -1 or greater than Items count. |