Breyta

Deila með


IAnimatable.GetAnimationBaseValue(DependencyProperty) Method

Definition

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