Table of Contents

Class TransitionService

Namespace
HeBianGu.Service.Animation
Assembly
HeBianGu.Service.Animation.dll
public static class TransitionService
Inheritance
TransitionService
Inherited Members

Fields

IsBeginVisibleProperty

解决没有loaded时触发动画导致元素不显示的问题

public static readonly DependencyProperty IsBeginVisibleProperty

Field Value

DependencyProperty

IsCloseProperty

应用窗体关闭和显示

public static readonly DependencyProperty IsCloseProperty

Field Value

DependencyProperty

IsVisibleProperty

应用控件显示和隐藏

public static readonly DependencyProperty IsVisibleProperty

Field Value

DependencyProperty

VisibleActionsProperty

显示隐藏过度效果

public static readonly DependencyProperty VisibleActionsProperty

Field Value

DependencyProperty

Methods

GetAll()

public static List<ITransition> GetAll()

Returns

List<ITransition>

GetIsBeginVisible(DependencyObject)

public static bool GetIsBeginVisible(DependencyObject obj)

Parameters

obj DependencyObject

Returns

bool

GetIsClose(DependencyObject)

public static bool GetIsClose(DependencyObject obj)

Parameters

obj DependencyObject

Returns

bool

GetIsVisible(DependencyObject)

public static bool GetIsVisible(DependencyObject obj)

Parameters

obj DependencyObject

Returns

bool

GetSource()

public static List<TransitionCollection> GetSource()

Returns

List<TransitionCollection>

GetVisibleActions(DependencyObject)

public static TransitionCollection GetVisibleActions(DependencyObject obj)

Parameters

obj DependencyObject

Returns

TransitionCollection

OnIsBeginVisibleChanged(DependencyObject, DependencyPropertyChangedEventArgs)

public static void OnIsBeginVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

Parameters

d DependencyObject
e DependencyPropertyChangedEventArgs

OnIsCloseChanged(DependencyObject, DependencyPropertyChangedEventArgs)

public static void OnIsCloseChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

Parameters

d DependencyObject
e DependencyPropertyChangedEventArgs

OnIsVisibleChanged(DependencyObject, DependencyPropertyChangedEventArgs)

public static void OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

Parameters

d DependencyObject
e DependencyPropertyChangedEventArgs

SetIsBeginVisible(DependencyObject, bool)

public static void SetIsBeginVisible(DependencyObject obj, bool value)

Parameters

obj DependencyObject
value bool

SetIsClose(DependencyObject, bool)

public static void SetIsClose(DependencyObject obj, bool value)

Parameters

obj DependencyObject
value bool

SetIsVisible(DependencyObject, bool)

public static void SetIsVisible(DependencyObject obj, bool value)

Parameters

obj DependencyObject
value bool

SetVisibleActions(DependencyObject, TransitionCollection)

public static void SetVisibleActions(DependencyObject obj, TransitionCollection value)

Parameters

obj DependencyObject
value TransitionCollection