Class TwBreadcrumb
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
A navigation component which displays an ordered list of the current page navigation.
public class TwBreadcrumb : TwBlazorComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent
- Inheritance
-
TwBreadcrumb
- Implements
- Inherited Members
Constructors
TwBreadcrumb()
public TwBreadcrumb()
Properties
Auto
Determines if the breadcrumbs are automatically constructed from the URI.
[Parameter]
public bool Auto { get; set; }
Property Value
BreadcrumbClass
Adds classes to individual breadcrumbs, default value is "capitalize".
[Parameter]
public string BreadcrumbClass { get; set; }
Property Value
Breadcrumbs
The list of breadcrumbs to display.
[Parameter]
public List<BreadcrumbItem> Breadcrumbs { get; set; }
Property Value
ChildContent
The child content rendered in the ordered list.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
NavigationManager
[Inject]
public NavigationManager NavigationManager { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
protected override Task OnInitializedAsync()