namespace: Serenity.Navigation assembly: Serenity.Net.Web
Creates a new instance of the attribute
public NavigationLinkAttribute(string path, string url, object permission, string icon = null)
parameter | description |
---|---|
path | Path |
url | URL |
permission | Permission |
icon | Icon |
- class NavigationLinkAttribute
namespace: Serenity.Navigation assembly: Serenity.Net.Web
Creates a new instance of the attribute
public NavigationLinkAttribute(string path, Type controller, string icon = null,
string action = "Index")
parameter | description |
---|---|
path | Path |
controller | Controller to get URL and action from |
icon | Icon |
action | Action name |
- class NavigationLinkAttribute
namespace: Serenity.Navigation assembly: Serenity.Net.Web
Creates a new instance of the attribute
public NavigationLinkAttribute(int order, string path, string url, object permission,
string icon = null)
parameter | description |
---|---|
order | Order |
path | Path |
url | URL |
permission | Permission |
icon | Icon |
- class NavigationLinkAttribute
namespace: Serenity.Navigation assembly: Serenity.Net.Web
Creates a new instance of the attribute
public NavigationLinkAttribute(int order, string path, Type controller, string icon = null,
string action = "Index")
parameter | description |
---|---|
order | Order |
path | Path |
controller | Controller to get URL and action from |
icon | Icon |
action | Action name |
- class NavigationLinkAttribute