อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ColorKeyFrame Constructors

Definition

Initializes a new instance of the ColorKeyFrame class.

Overloads

ColorKeyFrame()

Initializes a new instance of the ColorKeyFrame class.

ColorKeyFrame(Color)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value.

ColorKeyFrame(Color, KeyTime)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value and KeyTime.

ColorKeyFrame()

Initializes a new instance of the ColorKeyFrame class.

C#
protected ColorKeyFrame();

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

ColorKeyFrame(Color)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value.

C#
protected ColorKeyFrame(System.Windows.Media.Color value);

Parameters

value
Color

The Value of the new ColorKeyFrame instance.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

ColorKeyFrame(Color, KeyTime)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value and KeyTime.

C#
protected ColorKeyFrame(System.Windows.Media.Color value, System.Windows.Media.Animation.KeyTime keyTime);

Parameters

value
Color

The Value of the new ColorKeyFrame instance.

keyTime
KeyTime

The KeyTime of the new ColorKeyFrame instance.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10