Disable a Dropdown Menu in Blazor Dropdown Menu Component

7 Sep 20211 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.

@using Syncfusion.Blazor.SplitButtons

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

Output be like

Blazor DropDownMenu with Disable State