ClassTelerikButtonGroup
A component that lets you group related buttons with single or multiple selection. Supports equal-width stretching, custom content, and synchronizes toggle button selection with the configured mode. Children: ButtonGroupToggleButton and ButtonGroupButton.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikButtonGroup : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikButtonGroup
Implements:
Inherited Members
Constructors
TelerikButtonGroup()
Declaration
public TelerikButtonGroup()
Properties
ChildContent
The content of the ButtonGroup component. Children: ButtonGroupToggleButton and ButtonGroupButton.
Declaration
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
Enabled
Defines whether the buttongroup should be enabled. Default value is true.
SelectionMode
Defines the selection mode of the ButtonGroup. Default value is Single. Applicable only for ButtonGroupToggleButton.
Declaration
[Parameter]
public ButtonGroupSelectionMode SelectionMode { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides