Table of Contents

Class NavigationInfo

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.dll

Navigation metadata for a tree-menu node — href, match strategy, and link target.

public sealed class NavigationInfo
Inheritance
object
NavigationInfo

Constructors

NavigationInfo()

public NavigationInfo()

Properties

HasNavigation

true when Href is set and uses a safe scheme.

public bool HasNavigation { get; }

Property Value

bool

Href

Anchor href the node navigates to.

public string? Href { get; init; }

Property Value

string

Match

Active-route match strategy used when rendering as a Microsoft.AspNetCore.Components.Routing.NavLink.

public NavLinkMatch Match { get; init; }

Property Value

NavLinkMatch

Target

Optional anchor target attribute (e.g. _blank).

public string? Target { get; init; }

Property Value

string