Class BreadcrumbItems
Represents a collection of BreadcrumbItem.
Inheritance
System.Object
BreadcrumbItems
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class BreadcrumbItems : OwningComponentBase
Remarks
To generate dynamic BreadcrumbItem based on collection, use @foreach
within BreadcrumbItems tag directive.
Examples
In the below code example, a basic Breadcrumb has been rendered using BreadcrumbItems tag directive.
<SfBreadcrumb>
<BreadcrumbItems>
<BreadcrumbItem Text="Home"></BreadcrumbItem>
<BreadcrumbItem Text="Components"></BreadcrumbItem>
<BreadcrumbItem Text="Navigations"></BreadcrumbItem>
</BreadcrumbItems>
</SfBreadcrumb>
Constructors
BreadcrumbItems()
Declaration
public BreadcrumbItems()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |