Option to disable RadzenMenuItem #44

Closed
opened 2026-01-29 17:30:38 +00:00 by claunia · 1 comment
Owner

Originally created by @Matthewsre on GitHub (Feb 24, 2021).

I have a RadzenMenu that based on the selected items below I need to enable/disable certain actions that are represented by RadzenMenuItems.

For an example, you can see the "CommandBar with split and disabled buttons" example for the FluentUI CommandBar control.

image

For the solution I would like to have a "Disabled" bool property like the button has so I can enable or disable the menu item.

Alternatively, I could also build up my own menu using buttons and have an option for styling the button similar to the menu. An example for the button would be the "Action Button" or "Command Button" section on the FluentUI Button page.

Originally created by @Matthewsre on GitHub (Feb 24, 2021). I have a RadzenMenu that based on the selected items below I need to enable/disable certain actions that are represented by RadzenMenuItems. For an example, you can see the "CommandBar with split and disabled buttons" example for the [FluentUI CommandBar control](https://developer.microsoft.com/en-us/fluentui#/controls/web/commandbar). ![image](https://user-images.githubusercontent.com/2955659/108933216-9d3c0a00-75ff-11eb-98b8-c2876c3968eb.png) For the solution I would like to have a "Disabled" bool property like the button has so I can enable or disable the menu item. Alternatively, I could also build up my own menu using buttons and have an option for styling the button similar to the menu. An example for the button would be the "Action Button" or "Command Button" section on the [FluentUI Button page](https://developer.microsoft.com/en-us/fluentui#/controls/web/button).
Author
Owner

@enchev commented on GitHub (Feb 24, 2021):

Hey @Matthewsre,

We have SplitButton that can be used to execute actions. Menus are for navigation.

@enchev commented on GitHub (Feb 24, 2021): Hey @Matthewsre, We have [SplitButton](https://blazor.radzen.com/splitbutton) that can be used to execute actions. Menus are for navigation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#44