Search results

Set the disabled state in Blazor SplitButton component

22 Jul 2021 / 1 minute to read

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.

Copied to clipboard
@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