Share via


BooleanKeyFrameAnimation.InsertKeyFrame(Single, Boolean) Method

Definition

Inserts a key frame.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, bool value) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
void InsertKeyFrame(float const& normalizedProgressKey, bool const& value);
[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, bool value);
function insertKeyFrame(normalizedProgressKey, value)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Boolean)

Parameters

normalizedProgressKey
Single

float

The time the key frame should occur at, expressed as a percentage of the animation Duration. Allowed value is from 0.0 to 1.0.

value
Boolean

bool

The value of the key frame.

Attributes

Applies to