Share via


AspMenu.UseSimpleRendering Property

Controls whether to use simple unordered list-based rendering or the default Microsoft ASP.NET table-based rendering.

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

Syntax

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

value = instance.UseSimpleRendering

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

Property Value

Type: System.Boolean
true if the menu uses simple rendering; otherwise, false. The default is false.

Remarks

Set this property to true to cause the menu to render as an unordered list of anchor elements that is more easily styled using cascading style sheets (CSS) and more accessible.

See Also

Reference

AspMenu Class

AspMenu Members

Microsoft.SharePoint.WebControls Namespace