'Declaration Public Function GetParentGroupFromItem( _ ByVal item As Object _ ) As CollectionViewGroup
'Usage Dim instance As DataGridControl Dim item As Object Dim value As CollectionViewGroup value = instance.GetParentGroupFromItem(item)
public CollectionViewGroup GetParentGroupFromItem( object item )
Parameters
- item
The item whose parent group is to be retrieved. The item can correspond to a master data item or an item in the headers or footers of a master group.
Return Value
A CollectionViewGroup representing the parent group of the specified item. Can be a null reference (Nothing in Visual Basic) if the item exists but does not have a parent group.