Version: 2.0 |

NavigationItem

in namespace DotVVM.Framework.Controls.Bootstrap4

Properties

Name Type Description Notes Default Value
ContentTemplate ITemplate Gets or sets the template for content of the item.
attribute
inner element
static value
bindable
default
Enabled Boolean Gets or sets whether this item is enabled.
attribute
inner element
static value
bindable
default
True
IsSelected Boolean Gets or sets whether this item is selected.
attribute
inner element
static value
bindable
default
False
NavigateUrl String Gets or sets the URL of the item hyperlink.
attribute
inner element
static value
bindable
default
RouteName String Gets or sets the name of the route for the item hyperlink.
attribute
inner element
static value
bindable
default
Text String Gets or sets the text of the item.
attribute
inner element
static value
bindable
default
UrlSuffix String Gets or sets the suffix that will be appended to the generated URL.
attribute
inner element
static value
bindable
default

Events

Name Type Description
Click Action Gets or sets the command that will be triggered when the button is clicked.

Usage & Scenarios

Represents an item in NavigationBar and ResponsiveNavigation.

This control inherits from ListItem.

https://getbootstrap.com/docs/4.1/components/navs/

HTML Rendered by the Control

Suggestions


Help & Contribute

The documentation is maintained on GitHub.
We'll be happy if you edit the page and create a pull request.

Send message