Class CompiledStoryboardTrigger

Namespace
Forma.Xaml
Assembly
Forma.dll
public static class CompiledStoryboardTrigger
Inheritance
CompiledStoryboardTrigger
Inherited Members

Methods

AttachEvent<TTarget, THandler>(Control, TTarget, Action<TTarget, THandler>, Action<TTarget, THandler>, Func<Action, THandler>, Storyboard)

public static IDisposable AttachEvent<TTarget, THandler>(Control root, TTarget target, Action<TTarget, THandler> add, Action<TTarget, THandler> remove, Func<Action, THandler> createHandler, Storyboard storyboard) where TTarget : class where THandler : Delegate

Parameters

root Control
target TTarget
add Action<TTarget, THandler>
remove Action<TTarget, THandler>
createHandler Func<Action, THandler>
storyboard Storyboard

Returns

IDisposable

Type Parameters

TTarget
THandler

AttachProperty<TSource, TValue>(Control, Func<TSource, TValue>, string, TValue, Storyboard)

public static IDisposable AttachProperty<TSource, TValue>(Control root, Func<TSource, TValue> read, string propertyName, TValue expected, Storyboard storyboard) where TSource : class

Parameters

root Control
read Func<TSource, TValue>
propertyName string
expected TValue
storyboard Storyboard

Returns

IDisposable

Type Parameters

TSource
TValue

AttachStopEvent<TTarget, THandler>(Control, TTarget, Action<TTarget, THandler>, Action<TTarget, THandler>, Func<Action, THandler>, Storyboard)

public static IDisposable AttachStopEvent<TTarget, THandler>(Control root, TTarget target, Action<TTarget, THandler> add, Action<TTarget, THandler> remove, Func<Action, THandler> createHandler, Storyboard storyboard) where TTarget : class where THandler : Delegate

Parameters

root Control
target TTarget
add Action<TTarget, THandler>
remove Action<TTarget, THandler>
createHandler Func<Action, THandler>
storyboard Storyboard

Returns

IDisposable

Type Parameters

TTarget
THandler