Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | |
Appearance | |||
Bordered |
bool |
False | If true, adds a border of the active NavLink, does nothing if variant outlined is used. |
Color |
Color |
Color.Default | The color of the active NavLink. |
Dense |
bool |
False | If true, compact vertical padding will be applied to all navmenu items. |
Margin |
Margin |
Margin.None | Adjust the vertical spacing between navlinks. |
Rounded |
bool |
False | If true, default theme border-radius will be used on all navlinks. |
Common | |||
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. | |