Table of Contents

Class TwMenuGroup

Namespace
TwBlazor.Components
Assembly
TwBlazor.dll

A labelled group of items in a TwMenu, such as the columns that can be shown or hidden. Assistive technology reads the Label as the group's name.

public class TwMenuGroup : TwBlazorComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent
Inheritance
TwMenuGroup
Implements
Inherited Members

Constructors

TwMenuGroup()

public TwMenuGroup()

Properties

ChildContent

Gets or sets the group's items.

[Parameter]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Label

Gets or sets the group's heading.

[Parameter]
public string? Label { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder