Search results

Set the disabled state in Blazor SplitButton component

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

Output be like

Split Button Sample