Navigation
Installation
dotnet add package Structr.NavigationSetup
public class MenuItem : NavigationItem<MenuItem>
{
public string Action { get; set; }
public string Controller { get; set; }
public string Area { get; set; }
public string Icon { get; set; }
}public class CustomNavigationProvider<TNavigationItem> : INavigationProvider<TNavigationItem>
where TNavigationItem : NavigationItem<TNavigationItem>, new()
{
public IEnumerable<TNavigationItem> CreateNavigation()
{
/* Do some logic here */
}
}JSON provider
XML provider
Options
Property name
Property type
Description
Usage
Property name
Property type
Description
Last updated