UseSimpleRendering property

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)

public bool UseSimpleRendering { get; set; }

Property value

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

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.

Show:
© 2016 Microsoft