Table of Contents

Class DoubleStoryboardEngine

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Service.Animation.dll

DoubleAnimation动画引擎

public class DoubleStoryboardEngine : StoryboardEngineBase<double>, IDisposable
Inheritance
DoubleStoryboardEngine
Implements
Inherited Members
Extension Methods

Constructors

DoubleStoryboardEngine(double, double, double, string)

构造函数

public DoubleStoryboardEngine(double from, double to, double second, string property)

Parameters

from double

起始值

to double

结束值

second double

间隔时间秒

property string

修改属性名称

Methods

CanAnimation(UIElement)

protected bool CanAnimation(UIElement element)

Parameters

element UIElement

Returns

bool

Create(double, double, double, string)

构造方法

public static DoubleStoryboardEngine Create(double from, double to, double second, string property)

Parameters

from double

起始值

to double

结束值

second double

间隔时间秒

property string

修改属性名称

Returns

DoubleStoryboardEngine

Start(UIElement, Action<UIElement>, Action<StoryboardEngineBase>)

public override StoryboardEngineBase Start(UIElement element, Action<UIElement> Completed = null, Action<StoryboardEngineBase> init = null)

Parameters

element UIElement
Completed Action<UIElement>
init Action<StoryboardEngineBase>

Returns

StoryboardEngineBase

StartAll(UIElement, params DoubleStoryboardEngine[])

public static void StartAll(UIElement element, params DoubleStoryboardEngine[] engines)

Parameters

element UIElement
engines DoubleStoryboardEngine[]

Stop()

public override StoryboardEngineBase Stop()

Returns

StoryboardEngineBase