OpacityAnimation.InitialOpacity | initialOpacity property

Applies to Windows only

Gets the object's initial opacity.

Syntax


var initialOpacity = opacityAnimation.initialOpacity;

Property value

Type: IReference<Single> [JavaScript/C++] | System.Nullable<Single> [.NET]

The initial opacity, if any. A value of 0.0 represents full transparency and a value of 1.0 represents full opacity.

Remarks

This property's value might not be set when this method is called. In that case, the object's current opacity should be used as the starting point for the animation. If the value is not set and the object is hidden at the beginning of the animation, then the initial opacity is 0.0. If the value is not set and the object is visible at the beginning of the animation, then the object's current opacity should be used as the initial opacity.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Core.AnimationMetrics
Windows::UI::Core::AnimationMetrics [C++]

Metadata

Windows.winmd

See also

OpacityAnimation
FinalOpacity
Animation metrics sample

 

 

Show:
© 2014 Microsoft