Assigning Catel commands (Ok, Cancel, ...) to custom buttons in Xaml

Topics: Questions
Jan 7, 2013 at 2:34 PM

How can i assign catel commands like Ok, Cancel, ... to my custom buttons in xaml.

<Buuton Command={Binding Ok} Content="OK" />


Jan 7, 2013 at 6:14 PM

You can create a custom command by using the OnOkExecute and OnOkCanExecute methods.

Jan 7, 2013 at 7:14 PM