Table of Contents

Class MudDynamicTabs

Namespace
MudBlazor
Assembly
MudBlazor.dll

A tab component where the tabs are controlled dynamically, similar to browser tabs.

public class MudDynamicTabs : MudTabs, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged, IAsyncDisposable
Inheritance
MudDynamicTabs
Implements
Inherited Members
Extension Methods

Constructors

MudDynamicTabs()

public MudDynamicTabs()

Properties

AddIconClass

The CSS classes applied to the "Add" button.

[Parameter]
[Category("Appearance")]
public string AddIconClass { get; set; }

Property Value

string

Remarks

Defaults to "". Multiple classes must be separated by spaces.

AddIconStyle

The CSS styles applied to the "Add" button.

[Parameter]
[Category("Appearance")]
public string AddIconStyle { get; set; }

Property Value

string

Remarks

Defaults to "".

AddIconToolTip

The text shown when the user hovers over the "Add" button.

[Parameter]
[Category("Behavior")]
public string AddIconToolTip { get; set; }

Property Value

string

Remarks

Defaults to "". When null or empty, no tooltip will be shown.

AddTab

Occurs when the "Add" button has been clicked.

[Parameter]
public EventCallback AddTab { get; set; }

Property Value

EventCallback

AddTabIcon

The icon for the add button.

[Parameter]
[Category("Appearance")]
public string AddTabIcon { get; set; }

Property Value

string

Remarks

Defaults to Add.

CloseIconClass

The CSS classes applied to the "Close" button.

[Parameter]
[Category("Appearance")]
public string CloseIconClass { get; set; }

Property Value

string

Remarks

Defaults to "". Multiple classes must be separated by spaces.

CloseIconStyle

The CSS styles applied to the "Close" button.

[Parameter]
[Category("Appearance")]
public string CloseIconStyle { get; set; }

Property Value

string

Remarks

Defaults to "".

CloseIconToolTip

The text shown when the user hovers over the "Close" button.

[Parameter]
[Category("Behavior")]
public string CloseIconToolTip { get; set; }

Property Value

string

Remarks

Defaults to "". When null or empty, no tooltip will be shown.

CloseTab

Occurs when a tab has been closed.

[Parameter]
public EventCallback<MudTabPanel> CloseTab { get; set; }

Property Value

EventCallback<MudTabPanel>

CloseTabIcon

The icon for the close button.

[Parameter]
[Category("Appearance")]
public string CloseTabIcon { get; set; }

Property Value

string

Remarks

Defaults to Close.

InternalClassName

Can be used in derived class to add a class to the main container. If not overwritten return an empty string

protected override string InternalClassName { get; }

Property Value

string

Render

Renders the component to the supplied BuildRenderTree(RenderTreeBuilder).

public RenderFragment Render { get; }

Property Value

RenderFragment

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnInitialized()

protected override void OnInitialized()