Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IAnimatable.GetAnimationBaseValue(DependencyProperty) Method

Definition

Namespace:
System.Windows.Media.Animation
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Retrieves the base value of the specified DependencyProperty object.

public:
 System::Object ^ GetAnimationBaseValue(System::Windows::DependencyProperty ^ dp);
public object GetAnimationBaseValue(System.Windows.DependencyProperty dp);
abstract member GetAnimationBaseValue : System.Windows.DependencyProperty -> obj
Public Function GetAnimationBaseValue (dp As DependencyProperty) As Object

Parameters

dp
DependencyProperty

The object for which the base value is being requested.

Returns

The object representing the base value of Dp.

Remarks

Use this method instead of GetValue when you want to retrieve the non-animated value of an animated property. This method takes advantage of the fact that Windows Presentation Foundation (WPF) animations do not remove the target property's original value. For more information, see Dependency Property Value Precedence.

Applies to

See also


Feedback

Was this page helpful?