This is a migrated thread and some comments may be shown as answers.

WPF RadWizard Binding a command to the Next button

2 Answers 290 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Mahdieh
Top achievements
Rank 1
Mahdieh asked on 26 Oct 2018, 03:36 PM

Is there any way to bind a command to the built-in Previous/Next/Cancel buttons in the RadWizard?

I'd like to handle it in my viewmodel and not the xaml code behind.

 

Thanks,

Mahdieh,

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 31 Oct 2018, 12:40 PM
Hi Mahdieh,

What I can suggest you as a possible solution would be to utilize the EventToCommandBehavior. Thus, you would be able to bind the Previous, Next and Cancel events to a command in your view model.

Can you please check it out? Would this approach be working for you?

Regards,
Stefan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Mahdieh
Top achievements
Rank 1
answered on 20 Feb 2019, 05:18 PM
Thanks for the answer!
Tags
Wizard
Asked by
Mahdieh
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Mahdieh
Top achievements
Rank 1
Share this question
or