DataGrid.GetGroupFromItem(Object, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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