Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcComboBox Class / GetItemIndex Method
The item display index.


In This Topic
    GetItemIndex Method (GcComboBox)
    In This Topic
    Gets the item index based on Items.
    Syntax
    'Declaration
     
    Public Function GetItemIndex( _
       ByVal itemDisplayIndex As Integer _
    ) As Integer
    'Usage
     
    Dim instance As GcComboBox
    Dim itemDisplayIndex As Integer
    Dim value As Integer
     
    value = instance.GetItemIndex(itemDisplayIndex)
    public int GetItemIndex( 
       int itemDisplayIndex
    )

    Parameters

    itemDisplayIndex
    The item display index.

    Return Value

    The index that GcComboBox displayed.
    Exceptions
    ExceptionDescription
    When itemDisplayIndex is less than 0;
    Or when itemDisplayIndex is greater than the count of items.
    See Also