[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.SelectedIndex

SelectedIndex Property

SelectedIndex

Gets or sets the displayed index of the selected item. This is a dependency property.

Declaration
[Localizability(LocalizationCategory.NeverLocalize)]
[Bindable(true)]
public int SelectedIndex { get; set; }
<Localizability(LocalizationCategory.NeverLocalize)>
<Bindable(True)>
Public Property SelectedIndex As Integer
Property Value
Type Description
int

The displayed index of the selected item. The default is -1.

Remarks

SelectedIndex is the display index.

Exceptions
Type Condition
ArgumentOutOfRangeException

The selected index is less than -1 or greater than Items count.