Freigeben über


PropertyGroupDescription.NamesMatch Method

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

Returns a value that indicates whether the group name and the item name match, which indicates that the item belongs to the group.

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

Syntax

'Declaration
Public Overrides Function NamesMatch ( _
    groupName As Object, _
    itemName As Object _
) As Boolean
public override bool NamesMatch(
    Object groupName,
    Object itemName
)

Parameters

Return Value

Type: System.Boolean
true if the names match, which indicates that the item belongs to the group; otherwise, false.

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.