AspMenu.SelectStaticItemsOnly property

Gets or sets a value that indicates whether to select only static items for the control.

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

Syntax

'Declaration
Public Property SelectStaticItemsOnly As Boolean
    Get
    Set
'Usage
Dim instance As AspMenu
Dim value As Boolean

value = instance.SelectStaticItemsOnly

instance.SelectStaticItemsOnly = value
public bool SelectStaticItemsOnly { get; set; }

Property value

Type: System.Boolean
true if to select only static items; otherwise, false. The default is true.

See also

Reference

AspMenu class

AspMenu members

Microsoft.SharePoint.WebControls namespace