NavBarLink

in namespace DotVVM.Bootstrap5.Controls

Represents a link in the navigation control.

Usage & Scenarios

Represents a link item in NavBarSection.

https://getbootstrap.com/docs/5.2/components/navbar/

Properties

Name Type Description Notes Default Value
property icon Enabled Boolean Gets or sets whether the link is enabled or disabled.
attribute
inner element
static value
bindable
default
True
property icon NavigateUrl String Gets or sets a navigation URL for the link.
attribute
inner element
static value
bindable
default
null
property icon RouteName String Gets or sets a route name. Cannot be combined with navigateUrl URL.
attribute
inner element
static value
bindable
default
null
property icon Selected Boolean Gets or sets whether the link is selected.
attribute
inner element
static value
bindable
default
null
property icon Template ITemplate Gets or sets a custom template for the link.
attribute
inner element
static value
bindable
default
null
property icon Text String Gets or sets a plain text for the link.
attribute
inner element
static value
bindable
default
null
property icon UrlSuffix String Gets or sets a URL suffix for the link.
attribute
inner element
static value
bindable
default
null
property icon Visible Boolean Gets or sets whether the control is visible. When set to false, `style="display: none"` will be added to this control.
attribute
inner element
static value
bindable
default
True

Events

Name Type Description
event icon Click ICommandBinding

HTML produced by the control