Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / SelectionRange Structure / GetOffsetFromItemIndex Method
The index.


In This Topic
    GetOffsetFromItemIndex Method
    In This Topic
    Returns item offset by using the passed the index.
    Syntax
    'Declaration
     
    Public Function GetOffsetFromItemIndex( _
       ByVal itemIndex As Integer _
    ) As Integer
    'Usage
     
    Dim instance As SelectionRange
    Dim itemIndex As Integer
    Dim value As Integer
     
    value = instance.GetOffsetFromItemIndex(itemIndex)
    public int GetOffsetFromItemIndex( 
       int itemIndex
    )

    Parameters

    itemIndex
    The index.

    Return Value

    The item offset.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also