HtmlMenuItem Members

Include Protected Members
Include Inherited Members

A template that defines an item that is contained in a menu.

The HtmlMenuItem type exposes the following members.

Constructors

  Name Description
Public method HtmlMenuItem Initializes a new instance of the HtmlMenuItem class.

Top

Properties

  Name Description
Public property ImageURL Gets or sets the URL image of the menu item.
Public property Language Gets or sets the language of the script, if present, in the ScriptFunc property.
Public property Parameters Gets or sets the array that contains parameter names for which the HtmlMenuButton Web Part determines the values.
Public property ScriptFunc Gets or sets the script that is added to the menu item.
Public property ScriptFuncReplaceMode Gets or sets a value indicating whether the ScriptFunc property contains the actual script function or only the name of the script function.
Public property Separator Gets or sets a value indicating whether the menu item is rendered as a separating horizontal line.
Public property TargetURL Gets or sets the URL of the administration page that is the target of the link of the menu item.
Public property Text Gets or sets the text that is contained in the menu item link.

Top

Methods

  Name Description
Protected method Render Sends the HtmlMenuItem content to the provided HtmlTextWriter object, which writes the content to be rendered on the client. (Overrides WebControl.Render(HtmlTextWriter).)

Top

See Also

Reference

HtmlMenuItem Class

Microsoft.SharePoint.Portal.WebControls Namespace