Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials.Navigation Inheritance: CloudNimble.BlazorEssentials.InterfaceElement

Syntax

Summary

Defines an app navigation structure suitable for binding to navigation menus.

Constructors

.ctor

Syntax

.ctor

Creates a new instance with the minimum-required items to render a Blazor NavLink.

Syntax

Parameters

.ctor

Syntax

Parameters

.ctor

Syntax

Parameters

.ctor

Syntax

Parameters

.ctor

Syntax

Parameters

.ctor

Syntax

Parameters

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement

Syntax

.ctor Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

AccessibilityText

Test to be used for screen readers when this item is rendered.

Syntax

Property Value

Type: string

AllowAnonymous

A Boolean specifying whether or not this NavigationItem is visible when a user is not logged in.

Syntax

Property Value

Type: bool

Category

A string representing the parent category for this NavigationItem. Can be left blank, but useful for grouping NavigationItemNavigationItems</see> into caregories for display.

Syntax

Property Value

Type: string

Children

Syntax

Property Value

Type: System.Collections.Generic.List<CloudNimble.BlazorEssentials.Navigation.NavigationItem>

CssClass Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement
A string representing the CSS classes that will be applied to the element.

Syntax

Property Value

Type: string

DisplayText Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement
A string representing the text that will be displayed inside the element.

Syntax

Property Value

Type: string

IconClass Inherited

Inherited from CloudNimble.BlazorEssentials.InterfaceElement
A string representing the CSS class for the icon that will be rendered immediately before the InterfaceElement.DisplayText.

Syntax

Property Value

Type: string

IsVisible

Specifies whether or not this NavigationItem is visible on the NavBar. Defaults to True.

Syntax

Property Value

Type: bool

PageIcon

A string representing the CSS class(es) for the icon that can be displayed next to the NavigationItem.PageTitle in a page header.

Syntax

Property Value

Type: string

PageTitle

A string representing the text that can be displayed as a page header.

Syntax

Property Value

Type: string

Parameters

Allows you to set parameters specific to the page that you do NOT want to pass through the Routing system.

Syntax

Property Value

Type: dynamic

Remarks

Accessible through AppStateBase.CurrentNavItem.

Roles

A HashSet`1 of roles that this NavigationItem is visible to.

Syntax

Property Value

Type: System.Collections.Generic.HashSet<string>

Url

A string corresponding to the route for this NavigationItem.

Syntax

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

IsVisibleToUser

Returns a boolean indicating whether or not the NavItem is available to any of the Roles the claimsPrincipal is in.

Syntax

Parameters

Returns

Type: bool

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?