BreadcrumbItem Pennington.Navigation
One segment in a page's breadcrumb trail.
Properties
RoutePennington.Routing.ContentRoute?- Default:
nullRoute the segment links to, or null for a non-linked label. Titlestring- Display title for the segment.
Constructors
.ctor
#public record BreadcrumbItem(string Title, ContentRoute? Route);One segment in a page's breadcrumb trail.
Parameters
Titlestring- Display title for the segment.
RouteContentRoute?- Route the segment links to, or null for a non-linked label.
Pennington.Navigation.BreadcrumbItem
namespace Pennington.Navigation;
/// One segment in a page's breadcrumb trail.
public record BreadcrumbItem
{
/// One segment in a page's breadcrumb trail.
public record BreadcrumbItem(string Title, ContentRoute? Route);
/// Route the segment links to, or null for a non-linked label.
ContentRoute? Route
;
/// Display title for the segment.
string Title
;
}