Search results

Set the disabled state in Blazor SplitButton component

Split Button component can be enabled or disabled by disabled property. To disable Split Button component, set the Disabled property as true.

The following example illustrates how to set the disable state in Split Button component.

@using Syncfusion.Blazor.SplitButtons

<SfSplitButton Content="Paste" Disabled="true">
        <DropDownMenuItem Text="Cut" ></DropDownMenuItem>
        <DropDownMenuItem Text="Copy" ></DropDownMenuItem>
        <DropDownMenuItem Text="Paste"></DropDownMenuItem>

Output be like

Split Button Sample