C#C
C#3y ago
7 replies
Jona4Play

✅ Help with Avalonia Templated Controls

I am currently working on a templated control for a sliding button.

I, however, get an error for the binding of the Click Event to the Method SwitchStates saying that it is unable to find a suitable getter or setter.
Do you have to bind differently? I cant use Command, as this is something I want to make accessible from the outside.
image.png
Was this page helpful?