Share via


OpacityAnimation.InitialOpacity Property

Definition

Gets the object's initial opacity.

public:
 property IReference<float> ^ InitialOpacity { IReference<float> ^ get(); };
IReference<float> InitialOpacity();
public System.Nullable<float> InitialOpacity { get; }
var iReference = opacityAnimation.initialOpacity;
Public ReadOnly Property InitialOpacity As Nullable(Of Single)

Property Value

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.

Applies to

See also