PropertyGroupDescription.PropertyName Property

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

Gets or sets the name of the property that is used to determine which group(s) an item belongs to.

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

Syntax

'Declaration
<DefaultValueAttribute(Nothing)> _
Public Property PropertyName As String
[DefaultValueAttribute(null)]
public string PropertyName { get; set; }

Property Value

Type: System.String
The name of the property that is used to determine which group(s) an item belongs to. The default is nulla null reference (Nothing in Visual Basic).

Remarks

To automatically generate groups based on a property value, set the PropertyName property. To change the property value before groups are generated, use the Converter property to supply a value converter. If PropertyName is nulla null reference (Nothing in Visual Basic), the item itself is passed to the value converter.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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