Share via


Menu.UseDivForMenu Property

Gets or sets a value that indicates whether to use a div tag to surround the menu element.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UseDivForMenu As Boolean
    Get
    Set
'Usage
Dim instance As Menu
Dim value As Boolean

value = instance.UseDivForMenu

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

Property Value

Type: System.Boolean
true if a div tag is used; false if a span tag is used. The default is false.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace