GroupDescription.GroupNameFromItem Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns the group name or names for the specified item.

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

Syntax

'Declaration
Public MustOverride Function GroupNameFromItem ( _
    item As Object, _
    level As Integer, _
    culture As CultureInfo _
) As Object
public abstract Object GroupNameFromItem(
    Object item,
    int level,
    CultureInfo culture
)

Parameters

  • item
    Type: System.Object
    The item to return the group name for.
  • level
    Type: System.Int32
    The level of the group within the grouping hierarchy.

Return Value

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.