PropertyGroupDescription Constructor (String, IValueConverter)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the PropertyGroupDescription class with the specified property name and converter.
Namespace: System.Windows.Data
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Sub New ( _
propertyName As String, _
converter As IValueConverter _
)
public PropertyGroupDescription(
string propertyName,
IValueConverter converter
)
Parameters
- propertyName
Type: System..::.String
The name of the property that specifies which group an item belongs to. If this parameter is nullNothingnullptra null reference (Nothing in Visual Basic), the item itself is passed to the value converter.
- converter
Type: System.Windows.Data..::.IValueConverter
An IValueConverter object to apply to the property value or the item to produce the final value that is used to determine which group(s) an item belongs to. The converter may return a collection, which indicates that the items can appear in more than one group.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
PropertyGroupDescription Class