Class TwChipGroup
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
Represents a container component for grouping multiple TwChip components together.
public class TwChipGroup : TwBlazorComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent
- Inheritance
-
TwChipGroup
- Implements
- Inherited Members
Remarks
TwChipGroup provides a way to visually group related chips with consistent spacing and wrapping behavior. Chips within the group automatically wrap to multiple lines when space is limited.
Constructors
TwChipGroup()
public TwChipGroup()
Properties
Alignment
Gets or sets the alignment of chips within the chip group.
[Parameter]
public string Alignment { get; set; }
Property Value
Remarks
Default is "start". Possible values: "start", "center", "end".
ChildContent
Gets or sets the content to display within the chip group.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
Legend
Gets or sets the legend text for the chip group.
[Parameter]
public string? Legend { get; set; }
Property Value
LegendClass
Gets or sets the CSS class for the legend element.
[Parameter]
public string? LegendClass { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder