Xceed Toolkit Plus for WPF v4.6 Documentation
GetIndexFromItemOffset Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > SelectionRange Structure : GetIndexFromItemOffset Method
The item offset.
Returns the index by using the passed item offset.
Syntax
'Declaration
 
Public Function GetIndexFromItemOffset( _
   ByVal itemOffset As Integer _
) As Integer
'Usage
 
Dim instance As SelectionRange
Dim itemOffset As Integer
Dim value As Integer
 
value = instance.GetIndexFromItemOffset(itemOffset)
public int GetIndexFromItemOffset( 
   int itemOffset
)

Parameters

itemOffset
The item offset.

Return Value

The index.
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

Reference

SelectionRange Structure
SelectionRange Members