GroupName Property
Collapse the table of content
Expand the table of content

TemplateVisualStateAttribute.GroupName Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the name of the group that the state belongs to.

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

public string GroupName { get; set; }

Property Value

Type: System.String
The name of the group that the state belongs to.

States that share the same GroupName are mutually exclusive and are defined in a single VisualStateGroup in the ControlTemplate.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft