MudNavLink API

Pages
Properties
Name Type Default Description
Behavior
ChildContent
RenderFragment
null Child content of component.
Disabled
bool
False If true, the input element will be disabled.
Icon
string
null Icon to use if set.
Match
NavLinkMatch
NavLinkMatch.Prefix
Click action
ForceLoad
bool
False If true, force browser to redirect outside component router-space.
Href
string
null Link to a URL when clicked.
Target
string
null
Appearance
DisableRipple
bool
False If true, disables ripple effect.
IconColor
Color
Color.Default The color of the icon. It supports the theme colors, default value uses the themes drawer icon color.
Common
ActiveClass
string
"active" User class names when active, separated by space.
Class
string
null User class names, separated by space.
Style
string
null User styles, applied on top of the component's own classes and styles.
Tag
object
null Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<string, object>
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.
EventCallbacks
Name Type Description
OnClick EventCallback<MouseEventArgs> Click event. Will not be called if Href is also set.

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.8

An error has occurred. This application may no longer respond until reloaded. Reload 🗙