Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcListBox Class / GetItemDisplayIndex Method
The item index based on System.Windows.Controls.ItemsControl.Items.


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

    Parameters

    itemIndex
    The item index based on System.Windows.Controls.ItemsControl.Items.

    Return Value

    The value of the displayed index.
    Exceptions
    ExceptionDescription
    itemIndex is less than 0 or equals or greater than item count.
    See Also