Share via


EditableAspMenuState.OmittedParentLevels property

If the menu's starting node is the root of the navigation tree, then OmittedParentLevels is 0. Otherwise, the menu starts from a child node, and OmittedParentLevels indicates how many levels deep we are (i.e. how many parents we must follow to get to the root). The UI could indicate this e.g. by displaying "..." above the first menu link.

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

Syntax

'Declaration
Public Property OmittedParentLevels As Integer
    Get
    Set
'Usage
Dim instance As EditableAspMenuState
Dim value As Integer

value = instance.OmittedParentLevels

instance.OmittedParentLevels = value
public int OmittedParentLevels { get; set; }

Property value

Type: System.Int32

Remarks

(to client)

See also

Reference

EditableAspMenuState class

EditableAspMenuState members

Microsoft.SharePoint.Navigation namespace