Menu Members
Include Protected Members
Include Inherited 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 | ||
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 | (Overrides Control.ClientID.) | |
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.) | |
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. | |
ImageTextSpacing | ||
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 | ||
NamingContainer | (Inherited from Control.) | |
href | 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 | ||
PreLinkHtml | Gets the pre-link html. | |
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. | |
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 | ||
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 | (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.) | |
Visible | (Overrides Control.Visible.) | |
Width | (Inherited from WebControl.) |
Top
Methods
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 | ||
AttributeListSecondaryEncodedDelimiterEncoded |
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