GroupDescription.GroupNameFromItem Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the group name or names for the specified item.

Namespace:  System.ComponentModel
Assembly:  System.Windows (in System.Windows.dll)

public abstract Object GroupNameFromItem(
	Object item,
	int level,
	CultureInfo culture


Type: System.Object
The item to return the group name for.
Type: System.Int32
The level of the group within the grouping hierarchy.
Type: System.Globalization.CultureInfo
The culture information that affects grouping.

Return Value

Type: System.Object
An object that represents the group name or names.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft