Share via


ThicknessAnimation 构造函数

定义

初始化 ThicknessAnimation 类的新实例。

重载

ThicknessAnimation()

初始化 ThicknessAnimation 类的新实例。

ThicknessAnimation(Thickness, Duration)

初始化 ThicknessAnimation 类的新实例,该类在指定的持续时间内对指定值进行动画处理。 动画的起始值是正在进行动画处理的属性的基值或来自另一个动画的输出。

ThicknessAnimation(Thickness, Duration, FillBehavior)

初始化 ThicknessAnimation 类的新实例,该类在指定的持续时间内将动画处理至指定的值,并具有指定的填充行为。 动画的起始值是正在进行动画处理的属性的基值或来自另一个动画的输出。

ThicknessAnimation(Thickness, Thickness, Duration)

初始化 ThicknessAnimation 类的新实例,其在指定的持续时间内从指定的起始值到指定的目标值之间进行绘制动画。

ThicknessAnimation(Thickness, Thickness, Duration, FillBehavior)

初始化 ThicknessAnimation 类的新实例,该类在指定的持续时间内从指定的起始值到指定的目标值之间进行动画处理,并具有指定的填充行为。

ThicknessAnimation()

初始化 ThicknessAnimation 类的新实例。

public:
 ThicknessAnimation();
public ThicknessAnimation ();
Public Sub New ()

适用于

ThicknessAnimation(Thickness, Duration)

初始化 ThicknessAnimation 类的新实例,该类在指定的持续时间内对指定值进行动画处理。 动画的起始值是正在进行动画处理的属性的基值或来自另一个动画的输出。

public:
 ThicknessAnimation(System::Windows::Thickness toValue, System::Windows::Duration duration);
public ThicknessAnimation (System.Windows.Thickness toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.ThicknessAnimation : System.Windows.Thickness * System.Windows.Duration -> System.Windows.Media.Animation.ThicknessAnimation
Public Sub New (toValue As Thickness, duration As Duration)

参数

toValue
Thickness

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

适用于

ThicknessAnimation(Thickness, Duration, FillBehavior)

初始化 ThicknessAnimation 类的新实例,该类在指定的持续时间内将动画处理至指定的值,并具有指定的填充行为。 动画的起始值是正在进行动画处理的属性的基值或来自另一个动画的输出。

public:
 ThicknessAnimation(System::Windows::Thickness toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public ThicknessAnimation (System.Windows.Thickness toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.ThicknessAnimation : System.Windows.Thickness * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.ThicknessAnimation
Public Sub New (toValue As Thickness, duration As Duration, fillBehavior As FillBehavior)

参数

toValue
Thickness

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

fillBehavior
FillBehavior

指定动画不处于活动状态时的行为。

适用于

ThicknessAnimation(Thickness, Thickness, Duration)

初始化 ThicknessAnimation 类的新实例,其在指定的持续时间内从指定的起始值到指定的目标值之间进行绘制动画。

public:
 ThicknessAnimation(System::Windows::Thickness fromValue, System::Windows::Thickness toValue, System::Windows::Duration duration);
public ThicknessAnimation (System.Windows.Thickness fromValue, System.Windows.Thickness toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.ThicknessAnimation : System.Windows.Thickness * System.Windows.Thickness * System.Windows.Duration -> System.Windows.Media.Animation.ThicknessAnimation
Public Sub New (fromValue As Thickness, toValue As Thickness, duration As Duration)

参数

fromValue
Thickness

动画的起始值。

toValue
Thickness

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

适用于

ThicknessAnimation(Thickness, Thickness, Duration, FillBehavior)

初始化 ThicknessAnimation 类的新实例,该类在指定的持续时间内从指定的起始值到指定的目标值之间进行动画处理,并具有指定的填充行为。

public:
 ThicknessAnimation(System::Windows::Thickness fromValue, System::Windows::Thickness toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public ThicknessAnimation (System.Windows.Thickness fromValue, System.Windows.Thickness toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.ThicknessAnimation : System.Windows.Thickness * System.Windows.Thickness * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.ThicknessAnimation
Public Sub New (fromValue As Thickness, toValue As Thickness, duration As Duration, fillBehavior As FillBehavior)

参数

fromValue
Thickness

动画的起始值。

toValue
Thickness

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

fillBehavior
FillBehavior

指定动画不处于活动状态时的行为。

适用于