Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcComboBox Class / GetItemDisplayIndex Method
The item index based on Items.


In This Topic
    GetItemDisplayIndex Method (GcComboBox)
    In This Topic
    Gets the item displayed index.
    Syntax
    'Declaration
     
    Public Function GetItemDisplayIndex( _
       ByVal itemIndex As Integer _
    ) As Integer
    'Usage
     
    Dim instance As GcComboBox
    Dim itemIndex As Integer
    Dim value As Integer
     
    value = instance.GetItemDisplayIndex(itemIndex)
    public int GetItemDisplayIndex( 
       int itemIndex
    )

    Parameters

    itemIndex
    The item index based on Items.

    Return Value

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