Own event for custom UserControl 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.
精彩评论