Condividi tramite


PropertyGroupDescription Constructor (String, IValueConverter, StringComparison)

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

Initializes a new instance of the PropertyGroupDescription class with the specified property name, converter, and string comparison.

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

Syntax

'Declaration
Public Sub New ( _
    propertyName As String, _
    converter As IValueConverter, _
    stringComparison As StringComparison _
)
public PropertyGroupDescription(
    string propertyName,
    IValueConverter converter,
    StringComparison stringComparison
)

Parameters

  • propertyName
    Type: System.String
    The name of the property that specifies which group an item belongs to. If this parameter is nulla 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

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.