DataGrid.GetGroupFromItem(Object, Int32) Method

Definition

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

public Windows.UI.Xaml.Data.ICollectionViewGroup GetGroupFromItem (object item, int groupLevel);
member this.GetGroupFromItem : obj * int -> Windows.UI.Xaml.Data.ICollectionViewGroup
Public Function GetGroupFromItem (item As Object, groupLevel As Integer) As ICollectionViewGroup

Parameters

item
Object

item

groupLevel
Int32

groupLevel

Returns

Windows.UI.Xaml.Data.ICollectionViewGroup

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

Applies to