Xceed DataGrid for WPF v7.2 Documentation
GetItemAt Method (DataGridCollectionView)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionView Class : GetItemAt Method
The zero-based index at which to retrieve the item.
Retrieves the item at the specified index in the view.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetItemAt( _
   ByVal index As Integer _
) As Object
'Usage
 
Dim instance As DataGridCollectionView
Dim index As Integer
Dim value As Object
 
value = instance.GetItemAt(index)
public override object GetItemAt( 
   int index
)

Parameters

index
The zero-based index at which to retrieve the item.

Return Value

The item at the specified index.
Remarks
This method evaluates the index according to any and all sorting and filtering criteria that are applied to the view.
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

DataGridCollectionView Class
DataGridCollectionView Members
Base Implementation in GetItemAt