Class NavigationSettings
- Namespace
- Dynamicweb.Frontend.Navigation
- Assembly
- Dynamicweb.dll
Provides information about what to include in a navigation.
public class NavigationSettings
- Inheritance
-
NavigationSettings
- Inherited Members
Properties
ExpandMode
The expand mode for the navigation. Defaults to Path if null.
public ExpandMode ExpandMode { get; set; }
Property Value
IncludeFoldersAndHidden
This will include folders and hidden pages that normally is not shown in navigation. Can be used to render navigation nodes that is part of folders or where parents are not published.
public bool IncludeFoldersAndHidden { get; set; }
Property Value
Remarks
Gets or sets a setting that will include all pages in the returned navigation structure.
Parameters
A collection of custom parameters (provided in the template).
public IDictionary<string, object> Parameters { get; set; }
Property Value
RootAreaId
The ID of the area (webiste) which should be the root of the navigation.
public int RootAreaId { get; set; }
Property Value
RootNavigationTag
The navigation tag of the page which should be the root of the navigation.
public string RootNavigationTag { get; set; }
Property Value
RootPageId
The ID of the page which should be the root of the navigation.
public int RootPageId { get; set; }
Property Value
StartLevel
The node level from which the navigation nodes should be included. Defaults to 1 if null.
public int StartLevel { get; set; }
Property Value
StopLevel
The node level to which the navigation nodes should be included. Defaults to 99 if null.
public int StopLevel { get; set; }