Repository navigation
Expand file tree
/
Copy pathSiteMapNode.cs
More file actions
68 lines (57 loc) · 1.88 KB
/
Copy pathSiteMapNode.cs
File metadata and controls
68 lines (57 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using Microsoft.AspNetCore.Routing;
using System.Collections.Generic;
//code from Telerik MVC Extensions
namespace Grand.Framework.Menu
{
public class SiteMapNode
{
/// <summary>
/// Initializes a new instance of the <see cref="SiteMapNode"/> class.
/// </summary>
public SiteMapNode()
{
RouteValues = new RouteValueDictionary();
ChildNodes = new List<SiteMapNode>();
}
/// <summary>
/// Gets or sets the system name.
/// </summary>
public string SystemName { get; set; }
/// <summary>
/// Gets or sets the title.
/// </summary>
public string Title { get; set; }
/// <summary>
/// Gets or sets the name of the controller.
/// </summary>
public string ControllerName { get; set; }
/// <summary>
/// Gets or sets the name of the action.
/// </summary>
public string ActionName { get; set; }
/// <summary>
/// Gets or sets the route values.
/// </summary>
public RouteValueDictionary RouteValues { get; set; }
/// <summary>
/// Gets or sets the URL.
/// </summary>
public string Url { get; set; }
/// <summary>
/// Gets or sets the child nodes.
/// </summary>
public IList<SiteMapNode> ChildNodes { get; set; }
/// <summary>
/// Gets or sets the icon class (Font Awesome: http://fontawesome.io/)
/// </summary>
public string IconClass { get; set; }
/// <summary>
/// Gets or sets the item is visible
/// </summary>
public bool Visible { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to open url in new tab (window) or not
/// </summary>
public bool OpenUrlInNewTab { get; set; }
}
}