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

Output be like

Split Button Sample