Partager 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)

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