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

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

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

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

thanks.

Coordinator
Jan 7, 2013 at 5:14 PM

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

Jan 7, 2013 at 6:14 PM

thanks.