Menu members
Represents a custom menu for the Web Part page.
The Menu type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Menu() | Initializes a new instance of the Menu class with default values. |
![]() |
Menu(String) | Initializes a new instance of the Menu class with the specified label. |
![]() |
Menu(String, String) | Initializes a new instance of the Menu class with the specified label and target URL. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AccessKey | (Inherited from WebControl.) |
![]() |
Adapter | (Inherited from Control.) |
![]() |
AlignmentElementOverrideClientId | Gets or sets the client-side element that is used to align the menu. |
![]() |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) |
![]() |
ArrowImageHeight | Gets or sets the height of a clustered down arrow image. |
![]() |
ArrowImageHtml | |
![]() |
ArrowImageOffsetX | Gets or sets the x-axis offset of a clustered down arrow image. |
![]() |
ArrowImageOffsetY | Gets or sets the y-axis offset of a clustered down arrow image. |
![]() |
ArrowImageUrl | Gets or sets the URL of the arrow image. |
![]() |
ArrowImageWidth | Gets or sets the width of a clustered down arrow image. |
![]() |
Attributes | (Inherited from WebControl.) |
![]() |
BackColor | (Inherited from WebControl.) |
![]() |
BindingContainer | (Inherited from Control.) |
![]() |
BorderColor | (Inherited from WebControl.) |
![]() |
BorderStyle | (Inherited from WebControl.) |
![]() |
BorderWidth | (Inherited from WebControl.) |
![]() |
CallbackArgument | Gets or sets the callback argument value which will be sent back to the server during the callback. |
![]() |
CancelOnclickEvent | Gets or sets a value that indicates whether the OnClick event is canceled after the menu OnClick event handle has been triggered. |
![]() |
CheckedMenuItemIds | Gets or sets the ID of the checked menu items. |
![]() |
CheckedMenuItems | Gets the value of the checked menu items. |
![]() |
ChildControlsCreated | (Inherited from Control.) |
![]() |
ClientAlternativeOnClickScript | |
![]() |
ClientID | Gets the ClientID of this control. (Overrides Control.ClientID.) |
![]() |
ClientIDMode | (Inherited from Control.) |
![]() |
ClientIdOverride | Gets or sets the value of the client ID override string. |
![]() |
ClientIDSeparator | (Inherited from Control.) |
![]() |
ClientOnClickPreMenuOpen | Gets or sets the value for [ClientOnClickPreMenuOpen]. |
![]() |
ClientOnClickScript | Gets or sets the script to execute when a split-button is clicked. |
![]() |
Context | (Inherited from Control.) |
![]() |
Controls | (Inherited from Control.) |
![]() |
ControlStyle | (Inherited from WebControl.) |
![]() |
ControlStyleCreated | (Inherited from WebControl.) |
![]() |
CssClass | (Inherited from WebControl.) |
![]() |
DataItemContainer | (Inherited from Control.) |
![]() |
DataKeysContainer | (Inherited from Control.) |
![]() |
DesignMode | (Inherited from Control.) |
![]() |
DisabledMenuItemIds | Gets or sets the identifiers of the MenuItemTemplate controls to be disabled. |
![]() |
DisabledMenuItems | Gets a generic collection object that contains references to the MenuItemTemplate controls that should be disabled on this menu. |
![]() |
Enabled | (Inherited from WebControl.) |
![]() |
EnableTheming | (Inherited from WebControl.) |
![]() |
EnableTreeViewClickToOpen | Gets or sets a value that indicates whether a TreeView node should open the Edit Control Block (ECB) when the user clicks the node. |
![]() |
EnableViewState | (Inherited from Control.) |
![]() |
Events | (Inherited from Control.) |
![]() |
Font | (Inherited from WebControl.) |
![]() |
ForeColor | (Inherited from WebControl.) |
![]() |
GetMenuFromIdClientFunction | Gets or sets the name of the client-side function that gets menu elements from a client identifier. |
![]() |
HasAttributes | (Inherited from WebControl.) |
![]() |
HasChildViewState | (Inherited from Control.) |
![]() |
Height | (Inherited from WebControl.) |
![]() |
HiddenMenuItemIds | Gets or sets the identifiers of the MenuItemTemplate controls to be hidden. |
![]() |
HiddenMenuItems | Gets a generic collection object that contains references to the MenuItemTemplate controls that should be hidden on this menu. |
![]() |
HoverArrowImageHeight | Gets or sets the height of a clustered hover down arrow image. |
![]() |
HoverArrowImageOffsetX | Gets or sets the x-axis offset of a clustered hover down arrow image. |
![]() |
HoverArrowImageOffsetY | Gets or sets the y-axis offset of a clustered hover down arrow image. |
![]() |
HoverArrowImageUrl | Gets or sets the URL of the hover down arrow image. |
![]() |
HoverArrowImageWidth | Gets or sets the width of a clustered hover down arrow image. |
![]() |
HoverCellActiveCssClass | Gets or sets the Cascading Style Sheet (CSS) class or classes to apply to the cell surrounding the menu text when the pointer moves over the cell. |
![]() |
HoverCellInActiveCssClass | Gets or sets the Cascading Style Sheets (CSS) class or classes to apply to the cell surrounding the menu text. |
![]() |
ID | (Inherited from Control.) |
![]() |
IdSeparator | (Inherited from Control.) |
![]() |
ImageAlternativeText | Gets or sets the image alternative text. |
![]() |
ImageSpanCssClass | |
![]() |
ImageTextSpacing | Gets or sets the amount of space between the image and the text of the menu. |
![]() |
ImageUrl | Gets or sets the URL of the image to be displayed with the link text. |
![]() |
IsChildControlStateCleared | (Inherited from Control.) |
![]() |
IsEnabled | (Inherited from WebControl.) |
![]() |
IsTrackingViewState | (Inherited from Control.) |
![]() |
IsViewStateEnabled | (Inherited from Control.) |
![]() |
LinkExtraAttributes | Gets the extra cursor attributes that go with the specified menu control context. |
![]() |
LinkExtraAttributesDictionary | Gets the LinkExtraAttributes string as an attribute collection. |
![]() |
LoadViewStateByID | (Inherited from Control.) |
![]() |
MenuAlignment | Gets or sets the alignment of the current menu instance. |
![]() |
MenuFormat | Gets or sets the display format of the menu item. |
![]() |
MenuNotVisibleHtml | Gets or sets HTML that renders if the menu is not visible |
![]() |
NamingContainer | (Inherited from Control.) |
![]() |
NavigateUrl | Gets or sets the navigation URL. |
![]() |
Page | (Inherited from Control.) |
![]() |
Parent | (Inherited from Control.) |
![]() |
PermissionTrimButton | Gets or sets a value that indicates whether the menu link will be trimmed based on permission. |
![]() |
PostLinkHtml | Gets the post link html. |
![]() |
PrefixHtml | Gets or sets HTML that renders before the menu |
![]() |
PreLinkHtml | Gets the pre-link html. |
![]() |
RenderingCompatibility | (Inherited from Control.) |
![]() |
RightImageUrl | Gets or sets the URL of the image to display after the link text. |
![]() |
Site | (Inherited from Control.) |
![]() |
SkinID | (Inherited from WebControl.) |
![]() |
Style | (Inherited from WebControl.) |
![]() |
SuffixHtml | Gets or sets the suffix html. |
![]() |
SupportsDisabledAttribute | (Inherited from WebControl.) |
![]() |
SuppressBubbleIfPostback | Gets or sets a value that indicates whether certain results of the OnClick event, such as the bubble cursor display and menu item opening, are to be suppressed if a child link intends to post back. |
![]() |
SystemTokenNamesAndValues | Gets the token names and values. |
![]() |
SystemTokenNamesAndValuesInitialized | Gets the Boolean value indicating that the system token names and values have been initialized. |
![]() |
TabIndex | (Inherited from WebControl.) |
![]() |
TagKey | (Inherited from WebControl.) |
![]() |
TagName | (Inherited from WebControl.) |
![]() |
Template | Gets or sets the MenuTemplate that this menu should use. |
![]() |
TemplateControl | (Inherited from Control.) |
![]() |
TemplateId | A string indicating the Id of the MenuTemplate control to be used. |
![]() |
TemplateSourceDirectory | (Inherited from Control.) |
![]() |
Text | Gets or sets the text label for this menu. |
![]() |
TextCssClass | Gets or sets the CSS class or classes to put on the text label for this menu. |
![]() |
TokenNamesAndValues | Gets the token name and value pairs to use for the current menu. |
![]() |
TokenValues | Gets or sets the list of token names and values by using a string containing the concatenated list of name/value pairs. |
![]() |
ToolTip | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Overrides WebControl.ToolTip.) |
![]() |
UniqueID | (Inherited from Control.) |
![]() |
UseDivForMenu | Gets or sets a value that indicates whether to use a div tag to surround the menu element. |
![]() |
UseMaximumWidth | Gets or sets a value that indicates whether this menu attempts to consume the full width of its container. |
![]() |
UseShortId | Gets or sets a value that indicates whether the menu uses the short version of the menu identifier. |
![]() |
ViewState | (Inherited from Control.) |
![]() |
ViewStateIgnoresCase | (Inherited from Control.) |
![]() |
ViewStateMode | (Inherited from Control.) |
![]() |
Visible | Gets or sets a value that indicates whether the menu control is rendered as UI on the page. (Overrides Control.Visible.) |
![]() |
Width | (Inherited from WebControl.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddAttributesToRender | (Inherited from WebControl.) |
![]() |
AddedControl | (Inherited from Control.) |
![]() |
AddParsedSubObject | (Inherited from Control.) |
![]() |
ApplyStyle | (Inherited from WebControl.) |
![]() |
ApplyStyleSheetSkin | (Inherited from Control.) |
![]() |
BuildProfileTree | (Inherited from Control.) |
![]() |
ClearCachedClientID | (Inherited from Control.) |
![]() |
ClearChildControlState | (Inherited from Control.) |
![]() |
ClearChildState | (Inherited from Control.) |
![]() |
ClearChildViewState | (Inherited from Control.) |
![]() |
ClearEffectiveClientIDMode | (Inherited from Control.) |
![]() |
CopyBaseAttributes | (Inherited from WebControl.) |
![]() |
CreateChildControls | (Inherited from Control.) |
![]() |
CreateControlCollection | (Inherited from Control.) |
![]() |
CreateControlStyle | (Inherited from WebControl.) |
![]() |
DataBind() | (Inherited from Control.) |
![]() |
DataBind(Boolean) | (Inherited from Control.) |
![]() |
DataBindChildren | (Inherited from Control.) |
![]() ![]() |
DecodeClientTokenValue | Decodes a value from a name/value list. |
![]() |
Dispose | (Inherited from Control.) |
![]() ![]() |
EncodeClientTokenValue | Decodes a value from a name/value list. |
![]() |
EnsureChildControls | (Inherited from Control.) |
![]() |
EnsureID | (Inherited from Control.) |
![]() ![]() |
EnsureOnlyValidSystemTokenNames | Ensures that all of the Keys in the specified collection are valid system token names. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FindControl(String) | (Inherited from Control.) |
![]() |
FindControl(String, Int32) | (Inherited from Control.) |
![]() |
Focus | (Inherited from Control.) |
![]() |
GenerateCallbackResultInternal | Internal method that actually handles the callback event from the client and is callable from a derived class. |
![]() |
GetCallbackResult | Handles the callback event from the client. |
![]() |
GetDesignModeState | (Inherited from Control.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetRouteUrl(Object) | (Inherited from Control.) |
![]() |
GetRouteUrl(RouteValueDictionary) | (Inherited from Control.) |
![]() |
GetRouteUrl(String, Object) | (Inherited from Control.) |
![]() |
GetRouteUrl(String, RouteValueDictionary) | (Inherited from Control.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetUniqueIDRelativeTo | (Inherited from Control.) |
![]() |
HasControls | (Inherited from Control.) |
![]() |
HasEvents | (Inherited from Control.) |
![]() |
InitializeControlIds | Sets the properties that could not be initialized correctly during the point in the control life cycle when they were set for the first time. |
![]() |
IsLiteralContent | (Inherited from Control.) |
![]() ![]() |
IsValidSystemTokenName | Determines whether or not the specified token name is a valid system token name. |
![]() |
LoadControlState | (Inherited from Control.) |
![]() |
LoadViewState | (Inherited from WebControl.) |
![]() |
MapPathSecure | (Inherited from Control.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
MergeStyle | (Inherited from WebControl.) |
![]() |
OnBubbleEvent | (Inherited from Control.) |
![]() |
OnCallbackMenuGeneration | Raises the CallbackMenuGeneration event. |
![]() |
OnDataBinding | (Inherited from Control.) |
![]() |
OnInit | (Inherited from Control.) |
![]() |
OnLoad | Raises the Load event. (Overrides Control.OnLoad(EventArgs).) |
![]() |
OnPreRender | (Inherited from Control.) |
![]() |
OnPreRenderOverride | |
![]() |
OnUnload | (Inherited from Control.) |
![]() |
OpenFile | (Inherited from Control.) |
![]() |
RaiseBubbleEvent | (Inherited from Control.) |
![]() |
RaiseCallbackEvent | Handles the callback event from the client. |
![]() |
RemovedControl | (Inherited from Control.) |
![]() |
Render | Renders this control to the HTML writer. (Overrides WebControl.Render(HtmlTextWriter).) |
![]() |
RenderBeginTag | (Inherited from WebControl.) |
![]() |
RenderChildren | (Inherited from Control.) |
![]() |
RenderContents | (Inherited from WebControl.) |
![]() |
RenderControl(HtmlTextWriter) | (Inherited from Control.) |
![]() |
RenderControl(HtmlTextWriter, ControlAdapter) | (Inherited from Control.) |
![]() |
RenderEndTag | (Inherited from WebControl.) |
![]() |
ResolveAdapter | (Inherited from Control.) |
![]() |
ResolveClientUrl | (Inherited from Control.) |
![]() |
ResolveUrl | (Inherited from Control.) |
![]() |
SaveControlState | (Inherited from Control.) |
![]() |
SaveViewState | (Inherited from WebControl.) |
![]() |
SetDesignModeState | (Inherited from Control.) |
![]() |
SetRenderMethodDelegate | (Inherited from Control.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
TrackViewState | (Inherited from WebControl.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
CallbackMenuGeneration | Occurs when the server control creates the callback menu template. |
![]() |
DataBinding | (Inherited from Control.) |
![]() |
Disposed | (Inherited from Control.) |
![]() |
Init | (Inherited from Control.) |
![]() |
Load | (Inherited from Control.) |
![]() |
PreRender | (Inherited from Control.) |
![]() |
Unload | (Inherited from Control.) |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
AttributeListDelimiter | Specifies the character used as a delimiter for control identifiers and name/value pairs. |
![]() ![]() |
AttributeListDelimiterAsString | Represents the string version of the character used as a delimiter for control Ids and name/value pairs but is already in string form. |
![]() ![]() |
AttributeListDelimiterEncoded | Represents the encoded form of the character used as the delimiter for attribute lists. |
![]() ![]() |
AttributeListSecondaryEncodedDelimiter | Represents the encoded version of the secondary character used as the delimiter for attribute lists. |
![]() ![]() |
AttributeListSecondaryEncodedDelimiterAsString | String version of character used as delimiter for control Ids and name/value pairs but already in string form. |
![]() ![]() |
AttributeListSecondaryEncodedDelimiterEncoded | The encoded form of the character used as delimiter for control Ids and name/value pairs for use within the control Id or name/value pair. |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
![]() ![]() |
IParserAccessor.AddParsedSubObject | (Inherited from Control.) |
![]() ![]() |
IControlBuilderAccessor.ControlBuilder | (Inherited from Control.) |
![]() ![]() |
IDataBindingsAccessor.DataBindings | (Inherited from Control.) |
![]() ![]() |
IExpressionsAccessor.Expressions | (Inherited from Control.) |
![]() ![]() |
IAttributeAccessor.GetAttribute | (Inherited from WebControl.) |
![]() ![]() |
IControlDesignerAccessor.GetDesignModeState | (Inherited from Control.) |
![]() ![]() |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) |
![]() ![]() |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) |
![]() ![]() |
IAttributeAccessor.SetAttribute | (Inherited from WebControl.) |
![]() ![]() |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top