NavigationItem class
namespace: Serenity.Navigation assembly: Serenity.Net.Core
A node in a navigation tree model.
public class NavigationItem
Public Members
| name | description |
|---|---|
| NavigationItem() | The default constructor. |
| Children { get; } | List of children |
| FullPath { get; set; } | Full path of the item |
| IconClass { get; set; } | Icon class |
| IsSection { get; set; } | True if this is a navigation section |
| ItemClass { get; set; } | Item class |
| Order { get; set; } | Effective order among siblings. Unlike the declared Order on NavigationItemAttribute (which may be assigned from an Int32 in an assembly attribute), this is a Decimal so that duplicate declared orders can be resolved to unique values (see NavigationHelper.HealOrders), and so consumers (e.g. a CMS inserting dynamic pages into the menu) can compute a midpoint between two siblings. |
| Parent { get; set; } | Parent navigation item |
| Target { get; set; } | Target window to open the link, e.g. "_blank" |
| Title { get; set; } | Title |
| Url { get; set; } | URL |
See Also
- Source: NavigationItem.cs