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">
    <DropDownMenuItems>
        <DropDownMenuItem Text="Cut" ></DropDownMenuItem>
        <DropDownMenuItem Text="Copy" ></DropDownMenuItem>
        <DropDownMenuItem Text="Paste"></DropDownMenuItem>
    </DropDownMenuItems>
</SfSplitButton>
  

Output be like

Split Button Sample