Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TargetProperty Attached Property
Collapse the table of content
Expand the table of content

Storyboard.TargetProperty Attached Property

Gets or sets the property 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 GetTargetProperty, SetTargetProperty
<object Storyboard.TargetProperty="PropertyPath" .../>

Property Value

Type: System.Windows.PropertyPath
The property to animate.

Identifier field

TargetPropertyProperty

Metadata properties set to true

None

The target property must be a dependency property.

The TargetProperty property supports complex syntax that enables you to target properties of other properties. For a detailed description of the different ways to target properties, see Storyboards Overview.

.NET Framework

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

.NET Framework Client Profile

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