I want to create an own event (which I'll fire via code) for a CustomControl via XAML.
This would allow me to add a trigger for an animation which I create in XAML.
I want to create an own event (which I'll fire via code) for a CustomControl via XAML.
This would allow me to add a trigger for an animation which I create in XAML.
You can't define the events of a control in the xaml, you must do this in code behind, its the same as you cant define members of the control on xaml.