Search results

Disable a Dropdown Menu in Blazor Dropdown Menu component

03 Aug 2021 / 1 minute to read

Dropdown Menu component can be enabled/disabled by giving Disabled property. To disable Dropdown Menu component, the disabled property can be set as true.

Copied to clipboard
@using Syncfusion.Blazor.SplitButtons

<SfDropDownButton Disabled="true" Content="Message">
        <DropDownMenuItem Text="Edit"></DropDownMenuItem>
        <DropDownMenuItem Text="Delete"></DropDownMenuItem>
        <DropDownMenuItem Text="Mark as Read"></DropDownMenuItem>
        <DropDownMenuItem Text="Like Message"></DropDownMenuItem>

Output be like

Button Sample