Table of Contents

Class MudTreeViewItemToggleButton

Namespace
MudBlazor
Assembly
MudBlazor.dll
public class MudTreeViewItemToggleButton : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
Inheritance
MudTreeViewItemToggleButton
Implements
Inherited Members
Extension Methods

Constructors

MudTreeViewItemToggleButton()

public MudTreeViewItemToggleButton()

Properties

Classname

protected string Classname { get; }

Property Value

string

Disabled

Propagate disabled state to icon.

[Parameter]
[Category("Behavior")]
public bool Disabled { get; set; }

Property Value

bool

Expanded

Determines when to flip the expanded icon.

[Parameter]
[Category("Behavior")]
public bool Expanded { get; set; }

Property Value

bool

ExpandedChanged

Called whenever expanded changed.

[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }

Property Value

EventCallback<bool>

ExpandedIcon

The expand/collapse icon.

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

Property Value

string

ExpandedIconColor

The color of the expand/collapse. It supports the theme colors.

[Parameter]
[Category("Appearance")]
public Color ExpandedIconColor { get; set; }

Property Value

Color

Loading

If true, displays the loading icon.

[Parameter]
[Category("Behavior")]
public bool Loading { get; set; }

Property Value

bool

LoadingIcon

The loading icon.

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

Property Value

string

LoadingIconColor

The color of the loading. It supports the theme colors.

[Parameter]
[Category("Appearance")]
public Color LoadingIconColor { get; set; }

Property Value

Color

Visible

If true, displays the button.

[Parameter]
[Category("Behavior")]
public bool Visible { get; set; }

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder