Xceed DataGrid for WPF v7.2 Documentation
SetItemIndex Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridVirtualizingPanel Class : SetItemIndex Method
The item whose index to set
The zero-based index of the item.
Sets the index of an item contained in the DataGridVirtualizingPanel.
Syntax
'Declaration
 
Public Shared Sub SetItemIndex( _
   ByVal obj As DependencyObject, _
   ByVal value As Integer _
) 
'Usage
 
Dim obj As DependencyObject
Dim value As Integer
 
DataGridVirtualizingPanel.SetItemIndex(obj, value)
public static void SetItemIndex( 
   DependencyObject obj,
   int value
)

Parameters

obj
The item whose index to set
value
The zero-based index of the item.
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

DataGridVirtualizingPanel Class
DataGridVirtualizingPanel Members