Search results

Disable a Dropdown Menu in Blazor Dropdown Menu component

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">
    <DropDownButtonItems>
        <DropDownButtonItem Text="Edit"></DropDownButtonItem>
        <DropDownButtonItem Text="Delete"></DropDownButtonItem>
        <DropDownButtonItem Text="Mark as Read"></DropDownButtonItem>
        <DropDownButtonItem Text="Like Message"></DropDownButtonItem>
    </DropDownButtonItems>
</SfDropDownButton>

Output be like

Button Sample