Storyboard Property
Collapse the table of content
Expand the table of content

VisualState.Storyboard Property

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

Gets or sets a Storyboard that defines the appearance of the control when it is the state that is represented by the VisualState.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public Storyboard Storyboard { get; set; }
<VisualState>
  singleStoryboard
</VisualState>

XAML Values

singleStoryboard

A single Storyboard object element, which declares the storyboard to used for this state.

Storyboard is the XAML content property of VisualState and can thus support this content element syntax, as opposed to having to specify VisualState.Storyboard as a property element.

Property Value

Type: System.Windows.Media.Animation.Storyboard
A Storyboard that defines the appearance of the control when it is the state that is represented by the VisualState.

The Storyboard property that changes the appearance of the control. When the control enters the state that is specified by the VisualState.Name property, the Storyboard begins. When the control exits the state, the Storyboard stops.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft