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