Recommendation

Hi,

I am learning how to create a .NET Core 3.x WPF application using the MVVM pattern and a syncfusion Ribbon,

I understand how to enable/disable buttons, bars, tabs, but when the application becomes more complex, there are a lot of parameters and interdependencies to keep track of for enabling and disabling ribbon tabs/bars/buttons. When using boolean logic to control all ribbon items, the viewmodel that holds the ribbon quickly becomes very bulky, complex and messy.

Is there perhaps a code pattern that you can recommend that helps to keep the code for a complex ribbon in the viewmodel easy to read, clean and maintainable?

Kind regards,

Niels van Strien

3 Replies 1 reply marked as answer

BR Bharathi Rajakantham Syncfusion Team October 16, 2020 01:34 PM UTC

Hi NM van, 
 
Thanks for contacting syncfusion support. 
We have checked your query and prepared a sample following MVVM Pattern.Please refer the sample to achieve your requirement.Please let us know if you have any other concerns. 
 
Regards, 
Bharathi R 


Marked as answer

NV NM van Strien October 16, 2020 04:13 PM UTC

Hi Bharathi R

That is a nice example. Thank you so much.

Kind regards,

Niels


VR Vijayalakshmi Roopkumar Syncfusion Team October 19, 2020 12:17 PM UTC

Hi Bharathi

Thank you for your update.

Please let us know if you have any other concerns.

Regards,
Vijayalakshmi VR

Loader.
Up arrow icon