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.

Constructors summary

Provides base class initialization behavior for ObjectKeyFrame -derived classes.

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.

Constructors

  • ObjectKeyFrame()
    ObjectKeyFrame()
    ObjectKeyFrame()
    ObjectKeyFrame()

    Provides base class initialization behavior for ObjectKeyFrame -derived classes.

    protected ObjectKeyFrame()protected New()Protected Sub New()protected ObjectKeyFrame()

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 KeyTimepublic KeyTime KeyTime { get; set; }
    <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 DependencyPropertypublic static DependencyProperty KeyTimeProperty { get; }

    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 objectpublic object Value { get; set; }
    <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 DependencyPropertypublic static DependencyProperty ValueProperty { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

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

Details

Assembly

Windows.UI.Xaml.Media.Animation.dll