State Management

Spent some time working with panelmenu and just wanted to say how much I enjoy how flexible it actually is to use! The new features in it are fantastic. My only issues is the state management. If you are going to have a complex menu structure that swithes between Icon and IconAndText as well as have mulitpe sub menu items that can also control the Icon and IconAndText states, it takes a lot of booleans and several methods to change the states of each panelmenuitem. Any suggestions on better ways to handle state management? I'm just trying to get the code as clean and simple as possible.

In any case it's a wonderful component!!!

Since DisplayStyle is a property of the RadzenPanelMenu, not of the item, only one variable holding the state should be enough.