Condividi tramite


Storyboard (BeginStoryboard)

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

Gets or sets the Storyboard that this BeginStoryboard starts.

<BeginStoryboard>
  singlestoryboard
</BeginStoryboard>
value = object.Storyboard
object.Storyboard = value

XAML Values

Value

Description

singlestoryboard

Exactly one Storyboard object element.

Property Value

Type: Storyboard

The Storyboard that the BeginStoryboard starts.

This property is read/write. The default value is null.

Managed Equivalent

Storyboard

Remarks

Each BeginStoryboard action can contain only one storyboard. To include more than one storyboard, you can include multiple BeginStoryboard objects in the Actions collection.

The XAML syntax for BeginStoryboard and its Storyboard property are examples of XAML content property syntax. In XAML content property syntax, the intervening property element (in this case, BeginStoryBoard.Storyboard) can be omitted, and the property value Storyboard can be a direct object element child of the BeginStoryboard object element in your markup.

Applies To

BeginStoryboard

See Also

Reference