Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Storyboard.Target Attached Property

Gets or sets the object that should be animated.

Namespace:  System.Windows.Media.Animation
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

See GetTarget, SetTarget
<object Storyboard.Target="DependencyObject" .../>

Property Value

Type: System.Windows.DependencyObject
The object to animate.

Identifier field

TargetProperty

Metadata properties set to true

None

The target object must be a dependency object.

NoteNote

The Target property is not serializable, because it can be set to any DependencyObject. There is no guaranteed that this object can be correctly referenced in XAML.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft