BaseBrushAnimator.

RegisterBrushAnimator<TAnimator>(Func<Type, bool>) Method

Summary

Register an Animator<T> that handles a specific IBrush's descendant value type.

Syntax

public static void RegisterBrushAnimator<TAnimator>(Func<Type, bool> condition) 
    where TAnimator : IAnimator

Type Parameters

Name Description
TAnimator The type of the animator to instantiate.

Parameters

Name Type Description
condition Func<Type, bool> The condition to which the Animator<T> is to be activated and used.

Return Value

Type Description
void