DiscreteColorKeyFrame Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DiscreteColorKeyFrame class.
Overloads
DiscreteColorKeyFrame() |
Initializes a new instance of the DiscreteColorKeyFrame class. |
DiscreteColorKeyFrame(Color) |
Initializes a new instance of the DiscreteColorKeyFrame class with the specified ending value. |
DiscreteColorKeyFrame(Color, KeyTime) |
Initializes a new instance of the DiscreteColorKeyFrame class with the specified ending value and key time. |
DiscreteColorKeyFrame()
Initializes a new instance of the DiscreteColorKeyFrame class.
public:
DiscreteColorKeyFrame();
public DiscreteColorKeyFrame ();
Public Sub New ()
Applies to
DiscreteColorKeyFrame(Color)
Initializes a new instance of the DiscreteColorKeyFrame class with the specified ending value.
public:
DiscreteColorKeyFrame(System::Windows::Media::Color value);
public DiscreteColorKeyFrame (System.Windows.Media.Color value);
new System.Windows.Media.Animation.DiscreteColorKeyFrame : System.Windows.Media.Color -> System.Windows.Media.Animation.DiscreteColorKeyFrame
Public Sub New (value As Color)
Parameters
- value
- Color
Ending value (also known as "target value") for the key frame.
Applies to
DiscreteColorKeyFrame(Color, KeyTime)
Initializes a new instance of the DiscreteColorKeyFrame class with the specified ending value and key time.
public:
DiscreteColorKeyFrame(System::Windows::Media::Color value, System::Windows::Media::Animation::KeyTime keyTime);
public DiscreteColorKeyFrame (System.Windows.Media.Color value, System.Windows.Media.Animation.KeyTime keyTime);
new System.Windows.Media.Animation.DiscreteColorKeyFrame : System.Windows.Media.Color * System.Windows.Media.Animation.KeyTime -> System.Windows.Media.Animation.DiscreteColorKeyFrame
Public Sub New (value As Color, keyTime As KeyTime)
Parameters
- value
- Color
Ending value (also known as "target value") for the key frame.
- keyTime
- KeyTime
Key time for the key frame. The key time determines when the target value is reached which is also when the key frame ends.