Class SelectionMode
Specifies the selection behavior of the SfButtonGroup.
Inheritance
System.Object
SelectionMode
Namespace: Syncfusion.Blazor.SplitButtons
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class SelectionMode : Enum
Remarks
The selection mode determines how many buttons can be selected at a time within the group, enabling behaviors like radio buttons or checkboxes.
Fields
Default
Disables selection functionality, and the buttons in the group act as standard buttons.
Declaration
public const SelectionMode Default
Field Value
Type |
---|
SelectionMode |
Remarks
This is the default selection mode for the SfButtonGroup.
Multiple
Allows multiple buttons to be selected simultaneously, creating a checkbox-like behavior.
Declaration
public const SelectionMode Multiple
Field Value
Type |
---|
SelectionMode |
Remarks
Users can toggle the selection of each button independently.
Single
Allows a single button to be selected at a time, creating a radio button-like behavior.
Declaration
public const SelectionMode Single
Field Value
Type |
---|
SelectionMode |
Remarks
When one button is selected, any previously selected button is deselected.