KeyTime Struct

Definition

Specifies when a particular key frame should take place during an animation.

public value class KeyTime
public struct KeyTime
[System.Security.SecurityCritical]
public struct KeyTime
type KeyTime = struct
[<System.Security.SecurityCritical>]
type KeyTime = struct
Public Structure KeyTime
Inheritance
KeyTime
Attributes

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) KeyTime struct. For more information, see KeyTime in the UWP API reference.

Properties

TimeSpan

Gets the time when the key frame ends, expressed as a time relative to the beginning of the animation.

Methods

Equals(KeyTime)

Indicates whether a specified KeyTime is equal to this KeyTime.

Equals(KeyTime, KeyTime)

Indicates whether two KeyTime values are equal.

Equals(Object)

Indicates whether a KeyTime is equal to this KeyTime.

FromTimeSpan(TimeSpan)

Creates a new KeyTime, using the supplied TimeSpan.

GetHashCode()

Returns a hash code representing this KeyTime.

ToString()

Returns a string representation of this KeyTime.

Operators

Equality(KeyTime, KeyTime)

Compares two KeyTime values for equality.

Implicit(TimeSpan to KeyTime)

Implicitly converts a TimeSpan to a KeyTime.

Inequality(KeyTime, KeyTime)

Compares two KeyTime values for inequality.

Applies to

See also