DiscreteStringKeyFrame Class

Definition

Animates from the String value of the previous key frame to its own Value using discrete interpolation.

public class DiscreteStringKeyFrame : System.Windows.Media.Animation.StringKeyFrame
Inheritance

Remarks

This class is used as part of a StringKeyFrameCollection in conjunction with a StringAnimationUsingKeyFrames to animate a String property value along a set of key frames.

A key frame defines a segment of the StringAnimationUsingKeyFrames to which it belongs. Each key frame has a target Value and a KeyTime. The KeyTime specifies the time at which the key frame's Value should be reached. A key frame animates from the target value of the previous key frame to its own target value. It starts when the previous key frame ends and ends when its own key time is reached.

Discrete key frames like DiscreteStringKeyFrame create sudden "jumps" between values (no Interpolation). In other words, the animated property does not change until the key frame's key time is reached at which point the animated property goes suddenly to the target value.

Constructors

DiscreteStringKeyFrame()

Initializes a new instance of the DiscreteStringKeyFrame class.

DiscreteStringKeyFrame(String)

Initializes a new instance of the DiscreteStringKeyFrame class with the specified ending value.

DiscreteStringKeyFrame(String, KeyTime)

Initializes a new instance of the DiscreteStringKeyFrame class with the specified ending value and key time.

Methods

CheckAccess() Inherited from DispatcherObject
ClearValue(DependencyProperty) Inherited from DependencyObject
ClearValue(DependencyPropertyKey) Inherited from DependencyObject
Clone() Inherited from Freezable
CloneCore(Freezable) Inherited from Freezable
CloneCurrentValue() Inherited from Freezable
CloneCurrentValueCore(Freezable) Inherited from Freezable
CoerceValue(DependencyProperty) Inherited from DependencyObject
CreateInstance() Inherited from Freezable
CreateInstanceCore()

Creates a new instance of DiscreteStringKeyFrame.

Equals(Object) Inherited from DependencyObject
Equals(Object, Object) Inherited from Object
Freeze() Inherited from Freezable
Freeze(Freezable, Boolean) Inherited from Freezable
FreezeCore(Boolean) Inherited from Freezable
GetAsFrozen() Inherited from Freezable
GetAsFrozenCore(Freezable) Inherited from Freezable
GetCurrentValueAsFrozen() Inherited from Freezable
GetCurrentValueAsFrozenCore(Freezable) Inherited from Freezable
GetHashCode() Inherited from DependencyObject
GetLocalValueEnumerator() Inherited from DependencyObject
GetType() Inherited from Object
GetValue(DependencyProperty) Inherited from DependencyObject
InterpolateValue(String, Double) Inherited from StringKeyFrame
InterpolateValueCore(String, Double)

Uses discrete interpolation to transition between the previous key frame value and the value of the current key frame.

InvalidateProperty(DependencyProperty) Inherited from DependencyObject
MemberwiseClone() Inherited from Object
OnChanged() Inherited from Freezable
OnFreezablePropertyChanged(DependencyObject, DependencyObject) Inherited from Freezable
OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) Inherited from Freezable
OnPropertyChanged(DependencyPropertyChangedEventArgs) Inherited from Freezable
ReadLocalValue(DependencyProperty) Inherited from DependencyObject
ReadPreamble() Inherited from Freezable
ReferenceEquals(Object, Object) Inherited from Object
SetCurrentValue(DependencyProperty, Object) Inherited from DependencyObject
SetValue(DependencyProperty, Object) Inherited from DependencyObject
SetValue(DependencyPropertyKey, Object) Inherited from DependencyObject
ShouldSerializeProperty(DependencyProperty) Inherited from DependencyObject
ToString() Inherited from Object
VerifyAccess() Inherited from DispatcherObject
WritePostscript() Inherited from Freezable
WritePreamble() Inherited from Freezable

Properties

CanFreeze Inherited from Freezable
DependencyObjectType Inherited from DependencyObject
Dispatcher Inherited from DispatcherObject
IKeyFrame.Value Inherited from StringKeyFrame
IsFrozen Inherited from Freezable
IsSealed Inherited from DependencyObject
KeyTime Inherited from StringKeyFrame
Value Inherited from StringKeyFrame

Events

Changed Inherited from Freezable

Fields

KeyTimeProperty Inherited from StringKeyFrame
ValueProperty Inherited from StringKeyFrame

Applies to