DataGridGetGroupFromItem Method

Returns the Group at the indicated level or null if the item is not in the ItemsSource

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll) Version: 11.3.999
public DataGridCollectionViewGroup GetGroupFromItem(
	Object item,
	int groupLevel
)

Parameters

item  Object
item
groupLevel  Int32
groupLevel

Return Value

DataGridCollectionViewGroup
The group the given item falls under or null if the item is not in the ItemsSource

See Also