Table of Contents

Class NavigationTreeNodeViewModel

Namespace
Dynamicweb.Frontend.Navigation
Assembly
Dynamicweb.dll
Represents a navigation node in a NavigationTreeViewModel.
public class NavigationTreeNodeViewModel : ViewModelBase
Inheritance
NavigationTreeNodeViewModel
Inherited Members
Extension Methods

Properties

GroupId

Gets or sets the group id of the ecommerce group that this navigation node represents.
public string GroupId { get; set; }

Property Value

string
The group id of the group that this node links to. If the node is not a ecommerce group, the group id is empty.
See Also

InPath

Gets or sets a value indicating whether node is in path.
public bool InPath { get; set; }

Property Value

bool
true if in path; otherwise, false.
See Also

IsActive

Gets or sets a value indicating whether this node is active.
public bool IsActive { get; set; }

Property Value

bool
true if active; otherwise, false.
See Also

IsClickable

Gets or sets a value indicating whether the node should be clickable (link).
public bool IsClickable { get; set; }

Property Value

bool
true if active; otherwise, false.
See Also

Level

Gets or sets the level of the node in the navigation tree relative to the root.
public int Level { get; set; }

Property Value

int
The level.
See Also
Gets or sets the link of the node, i.e /home/products or /products/bikes/mountain-bike.
public string Link { get; set; }

Property Value

string
The link.
See Also

Name

Gets or sets the name of node - the page name, group name etc.
public string Name { get; set; }

Property Value

string
The name.
See Also

Nodes

Gets the sub nodes (or subpages) to this navigation node.
public IEnumerable<NavigationTreeNodeViewModel> Nodes { get; }

Property Value

IEnumerable<NavigationTreeNodeViewModel>
See Also

PageId

Gets or sets the pageid of the page that this navigation node represents.
public int PageId { get; set; }

Property Value

int
The page id that this node links. If the node is not a page, i.e. an Ecommerce group, the pageid is the id of the page where the ecommerce navigation is attached.
See Also

ShowInBreadcrumb

Gets or sets a value indicating weather the node should be shown in breadcrumb
public bool ShowInBreadcrumb { get; set; }

Property Value

bool
See Also

ShowInMenu

Gets or sets a value indicating weather the node should be shown in menu. Will always be true except if explicitly included
public bool ShowInMenu { get; set; }

Property Value

bool
See Also

ShowInSitemap

Gets or sets a value indicating weather the node should be shown in sitemap
public bool ShowInSitemap { get; set; }

Property Value

bool
See Also

See Also

To top