ObjectKeyFrame ObjectKeyFrame ObjectKeyFrame Class

Defines an animation segment with its own target value and interpolation method for an ObjectAnimationUsingKeyFrames.

Syntax

Declaration

public class ObjectKeyFramepublic class ObjectKeyFramePublic Class ObjectKeyFrame

Inheritance Hierarchy

Remarks

ObjectKeyFrame derived classes

ObjectKeyFrame is the parent class for DiscreteObjectKeyFrame.

Properties summary

Gets or sets the time at which the key frame's target Value should be reached.

Identifies the KeyTime dependency property.

Gets or sets the key frame's target value.

Identifies the Value dependency property.

Properties

  • KeyTime
    KeyTime
    KeyTime
    KeyTime

    Gets or sets the time at which the key frame's target Value should be reached.

    public KeyTime KeyTime { get; set; }public KeyTime KeyTime { get; set; }Public ReadWrite Property KeyTime As KeyTime
    <DiscreteObjectKeyFrame KeyTime="keyTimeString"/>
    

    Property Value

    • The time at which the key frame's current value should be equal to its Value property. The default is null.

  • KeyTimeProperty
    KeyTimeProperty
    KeyTimeProperty
    KeyTimeProperty

    Identifies the KeyTime dependency property.

    public static DependencyProperty KeyTimeProperty { get; }public static DependencyProperty KeyTimeProperty { get; }Public Static ReadOnly Property KeyTimeProperty As DependencyProperty

    Property Value

  • Value
    Value
    Value
    Value

    Gets or sets the key frame's target value.

    public object Value { get; set; }public object Value { get; set; }Public ReadWrite Property Value As object
    <DiscreteObjectKeyFrame>
      <DiscreteObjectKeyFrame.Value>
        singleObject
      </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    

    Property Value

    • object
      object
      object

      The key frame's target value, which is the value of this key frame at its specified KeyTime. The default is null.

  • ValueProperty
    ValueProperty
    ValueProperty
    ValueProperty

    Identifies the Value dependency property.

    public static DependencyProperty ValueProperty { get; }public static DependencyProperty ValueProperty { get; }Public Static ReadOnly Property ValueProperty As DependencyProperty

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.StaticAttribute

Details

Assembly

Windows.UI.Xaml.Media.Animation.dll