Share via


VisualStateGroup Class

Definition

Contains a list of related visual states that can be applied to a visual element.

[Xamarin.Forms.ContentProperty("States")]
public sealed class VisualStateGroup
type VisualStateGroup = class
Inheritance
System.Object
VisualStateGroup
Attributes

Constructors

VisualStateGroup()

Creates a new VisualStateGroup object with default values.

Properties

CurrentState

Gets the current visual state.

Name

Gets or sets the name of the visual state.

States

Gets the list of states that comprise the group.

TargetType

Gets or sets the type of element that this visual state group can target.

Applies to