Implement animation setters using the Avalonia.Styling.Setter class. Enable custom animators through a static method on Animation that can be called from the a static constructor (example in Transform.cs).
thrownewInvalidProgramException($"Type {setter.GetType()} doesn't have Animator attribute.");
if(handler==null)
{
thrownewInvalidOperationException($"No animator registered for the property {setter.Property}. Add an animator to the Animation.Animators collection that matches this property to animate it.");