HtmlMenuButton Members
Include Protected Members
Include Inherited Members
Displays a drop-down button used to display an HtmlMenu.
The HtmlMenuButton type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HtmlMenuButton | Initializes a new instance of the HtmlMenuButton class. |
Top
Properties
Name | Description | |
---|---|---|
ClickThruURL | Gets or sets the URL of the link. | |
DefaultURL | Gets or sets the default URL for each menu item that does not have a URL in the menu item template. | |
DisableItems | Gets a string collection containing a list of menu item identifiers that are disabled. | |
DisplayHtml | Gets or sets the actual HTML that is displayed. | |
ImageURL | Gets or sets the URL of the image contained in the link. | |
IsNarrow | Gets or sets a value indicating whether the width of the menu button is set to the maximum width available on the screen or to the minimum width. | |
ItemID | Gets or sets the client-side ItemId attribute for this menu button. | |
LinkID | Gets or sets the client-side identifier for the URL that is rendered for the ClickThruURL property. | |
MenuID | Gets or sets the client-side identifier for the menu associated with this menu button. | |
Parameters | Gets the hash table containing the name/value pairs for the menu items. | |
Text | Gets or sets the label that appears in the link contained in the menu button. | |
UseWSSMenu | Gets or sets a value that indicates whether the menu button is displayed using Microsoft SharePoint Foundation 2010 formatting. |
Top
Methods
Name | Description | |
---|---|---|
Render | Sends the HtmlMenuButton content to the provided HtmlTextWriter object, which writes the content to be rendered on the client. (Overrides WebControl.Render(HtmlTextWriter).) | |
RenderAsHtml | Returns a string representation of the HtmlMenuButton content in HTML format. | |
RenderDisableItems | Sends the DisableItems content of the menu button to the provided HtmlTextWriter object, which writes the content to be rendered on the client. | |
RenderID | Sends the HtmlMenuButton identifier (ID) to the provided HtmlTextWriter object, which writes the content to be rendered on the client. | |
RenderLink | Sends the link content for the menu button to the provided HtmlTextWriter object, which writes the content to be rendered on the client. | |
RenderMenuParameters | Sends menu parameters about the menu button to the provided HtmlTextWriter object, which writes the content to be rendered on the client. | |
RenderParameters | Sends the Parameters content to the provided HtmlTextWriter object, which writes the content to be rendered on the client. |
Top
Fields
Name | Description | |
---|---|---|
AllowScriptInUrl | Specifies a value indicating whether script contained in the data is accepted or rejected. |
Top