Class Navigation
The Navigation configurations of the Provisioning Template
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class Navigation : BaseModel, IProvisioningTemplateDescendant
The Navigation configurations of the Provisioning Template
public class Navigation : BaseModel, IProvisioningTemplateDescendant
Constructor for Navigation class
public Navigation()
Constructor for Navigation class
public Navigation(GlobalNavigation globalNavigation = null, CurrentNavigation currentNavigation = null, StructuralNavigation searchNavigation = null)
GlobalNavigation
globalNavigation
GlobalNavigation object |
CurrentNavigation
currentNavigation
CurrentNavigation object |
StructuralNavigation
searchNavigation
SearchNavigation object |
Declares whether the New Page ribbon command will automatically create a navigation item for the newly created page, optional attribute.
public Boolean AddNewPagesToNavigation { get; set; }
Boolean
|
Declares whether the New Page ribbon command will automatically create a friendly URL for the newly created page, optional attribute.
public Boolean CreateFriendlyUrlsForNewPages { get; set; }
Boolean
|
The Current Navigation settings for the Provisioning Template
public CurrentNavigation CurrentNavigation { get; }
CurrentNavigation
|
Declares whether to enable site navigation audience targeting or not, optional attribute.
public Boolean EnableAudienceTargeting { get; set; }
Boolean
|
Declares whether the tree view has to be enabled at the site level or not, optional attribute.
public Boolean EnableTreeView { get; set; }
Boolean
|
The Global Navigation settings for the Provisioning Template
public GlobalNavigation GlobalNavigation { get; }
GlobalNavigation
|
Defines the Search Navigation settings of the site
public StructuralNavigation SearchNavigation { get; }
StructuralNavigation
|
Compares Navigation object based on GlobalNavigation and CurrentNavigation properties.
public bool Equals(Navigation other)
Navigation
other
Navigation object |
System.Boolean
true if the Navigation object is equal to the current object; otherwise, false. |
Compares object with Navigation
public override bool Equals(object obj)
System.Object
obj
Object that represents Navigation |
System.Boolean
true if the current object is equal to the Navigation |
Gets the hash code
public override int GetHashCode()
System.Int32
Returns HashCode |