HtmlMenu Class

The HtmlMenu class is a template that defines a menu.

System.Web.UI.WebControls.WebControl

Microsoft.SharePoint.Portal.WebControls.HtmlMenu

Public Constructors

The following table shows the constructors of the HtmlMenu class and a brief description of each.

Name Description
HtmlMenu Initializes a new instance of the HtmlMenu class.

Protected Methods

The following table shows the protected methods of the HtmlMenu class and a brief description of each.

Name Description
OnPreRender(System.EventArgs) Inherits from System.Web.UI.Controls.
Render(System.Web.UI.HtmlTextWriter) Inherits from System.Web.UI.Controls.

Public Properties

The following table shows the properties of the HtmlMenu class, the data type of each property, and a brief description of each.

Name Data type Description
MenuItems Microsoft.SharePoint.Portal.WebControls.HtmlMenuItemCollection Gets the HtmlMenuItemCollection object that is associated with this menu.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Portal.WebControls

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security