FlattenHeadings property

PortalSiteMapProvider.FlattenHeadings property

Gets a Boolean value that represents whether to flatten heading nodes.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public bool FlattenHeadings { get; set; }

Property value

Type: System.Boolean
true to have the provider remove heading nodes from the hierarchy but still return their child objects.

Flattening a heading node removes it from the hierarchy but includes all of its child objects in its place.

© 2015 Microsoft