Class MudTreeViewItemToggleButton
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Toggles the expansion state of a MudTreeViewItem<T>.
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
Disabled
Prevents the user from interacting with this button.
[Parameter]
[Category("Behavior")]
public bool Disabled { get; set; }
Property Value
Expanded
Whether this button is in the "expanded" state.
[Parameter]
[Category("Behavior")]
public bool Expanded { get; set; }
Property Value
Remarks
Defaults to false
.
ExpandedChanged
Occurs when Expanded.
[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }
Property Value
ExpandedIcon
The expand/collapse icon.
[Parameter]
[Category("Appearance")]
public string ExpandedIcon { get; set; }
Property Value
Remarks
Defaults to ChevronRight.
ExpandedIconColor
The color of the expand/collapse icon.
[Parameter]
[Category("Appearance")]
public Color ExpandedIconColor { get; set; }
Property Value
Remarks
Defaults to Default.
Loading
Displays the loading icon.
[Parameter]
[Category("Behavior")]
public bool Loading { get; set; }
Property Value
Remarks
Defaults to false
. Typically used when time is required to load child items.
LoadingIcon
The icon shown when in the "loading" state.
[Parameter]
[Category("Appearance")]
public string LoadingIcon { get; set; }
Property Value
Remarks
Defaults to Loop.
LoadingIconColor
The color of the loading icon.
[Parameter]
[Category("Appearance")]
public Color LoadingIconColor { get; set; }
Property Value
Remarks
Defaults to Default.
Visible
Shows this button.
[Parameter]
[Category("Behavior")]
public bool Visible { get; set; }
Property Value
Remarks
Defaults to false
.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
See Also
MudTreeView<T>