public sealed class NavMenuItem : ComponentBase,
IHasNavigationManager| NavMenuItem | Initializes a new instance of the NavMenuItem class |
| ClickCallBack | Callback to invoke when the button is clicked. |
| Color | Color of the icon in the Button |
| CurrentUser | The signed-in user. |
| Disabled | Whether the button should be disabled. Default: . |
| Icon | Icon to display inside the Button |
| Label | Human-readable text in the Button |
| NavigationManager |
Dependency injected NavigationManager for navigating to different pages. Note: in Blazor, navigation is done in a 'fake' manner so the entire page doesn't need to be reloaded. If you want to make sure the page is reloaded, or if we're going somewhere outside the Blazor context, ensure you set the parameter 'forceLoad' in method NavigateTo(String, Boolean, Boolean) to true. |
| UrlOnClick | The URL the user goes to on click. |
| SetParametersAsync |
Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView)) |