Summary
Registers a
Animator<T>
that can handle
a value type that matches the specified condition.
- Namespace
- Avalonia
.Animation - Containing Type
- Animation
Syntax
public static void RegisterAnimator<TAnimator>(Func<AvaloniaProperty, bool> condition)
where TAnimator : IAnimator
Type Parameters
Name | Description |
---|---|
TAnimator | The type of the animator to instantiate. |
Parameters
Name | Type | Description |
---|---|---|
condition | Func |
The condition to which the Animator<T>
is to be activated and used.
|
Return Value
Type | Description |
---|---|
void |