[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.GetItemIndex

GetItemIndex Method

GetItemIndex(int)

Gets the item index based on Items.

Declaration
public int GetItemIndex(int itemDisplayIndex)
Public Function GetItemIndex(itemDisplayIndex As Integer) As Integer
Parameters
Type Name Description
int itemDisplayIndex

The item display index.

Returns
Type Description
int

The index that GcComboBox displayed.

Exceptions
Type Condition
ArgumentOutOfRangeException

When itemDisplayIndex is less than 0;
Or when itemDisplayIndex is greater than the count of items.