MenuItemTemplate Members
Include Protected Members
Include Inherited Members
Represents a control that creates an item in a drop-down menu.
The MenuItemTemplate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MenuItemTemplate() | Initializes a new instance of the MenuItemTemplate class. | |
MenuItemTemplate(String) | Initializes a new instance of the MenuItemTemplate class and uses the specified menu item text. | |
MenuItemTemplate(String, String) | Initializes a new instance of the MenuItemTemplate class and uses the specified menu item text and image. | |
MenuItemTemplate(String, String, String) | Initializes a new instance of the MenuItemTemplate class, uses the specified menu item text and image, and specifies a script to run when the control is clicked. |
Top
Properties
Name | Description | |
---|---|---|
Adapter | (Inherited from Control.) | |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) | |
Attributes | Gets the collection of attributes in the XML markup of the menu item. | |
AuthenticationRestrictions | Sets or retrieves the authentication that is required to view the menu item. | |
BindingContainer | (Inherited from Control.) | |
ChildControlsCreated | (Inherited from Control.) | |
ClientID | Gets the ID of the control. (Overrides Control.ClientID.) | |
ClientIDSeparator | (Inherited from Control.) | |
ClientOnClickhref | Sets or retrieves the URL to open when the menu item is clicked. | |
ClientOnClickPostBackConfirmation | Sets or retrieves a confirmation message to display when the ClientOnClickUsingPostBackEvent property is set. | |
ClientOnClickScript | Sets or retrieves the client-side Ecma script to execute when the menu entry is clicked. | |
ClientOnClickScriptContainingPrefixedUrl | ||
ClientOnClickUsingPostBackEvent | Sets or retrieves the control ID and parameter for the post-back event. | |
Context | (Inherited from Control.) | |
Controls | Retrieves an empty ControlCollection object. (Overrides Control.Controls.) | |
Description | Sets or retrieves a text description of the menu item. | |
DescriptionScript | Sets or retrieves a client-side Ecma script that is associated with the description of the menu item. | |
DesignMode | (Inherited from Control.) | |
EnableTheming | (Inherited from Control.) | |
EnableViewState | (Inherited from Control.) | |
Events | (Inherited from Control.) | |
HasChildViewState | (Inherited from Control.) | |
HiddenScript | Sets or retrieves the client-side Ecma script to execute to determine whether the menu item should be hidden. | |
ID | (Inherited from Control.) | |
IdSeparator | (Inherited from Control.) | |
ImageScript | Sets or retrieves a client-side Ecma script that is associated with the image of the menu item. | |
ImageUrl | Sets or retrieves the URL of the image to be displayed on this menu item. | |
IsChildControlStateCleared | (Inherited from Control.) | |
IsTrackingViewState | (Inherited from Control.) | |
IsViewStateEnabled | (Inherited from Control.) | |
LoadViewStateByID | (Inherited from Control.) | |
MenuGroupId | Sets or retrieves the identifier of the menu group of the menu item. | |
NamingContainer | (Inherited from Control.) | |
Page | (Inherited from Control.) | |
PageModes | Sets or retrieves the page mode that is required to view the menu item. | |
Parent | (Inherited from Control.) | |
PermissionContext | Sets or retrieves the context of the permissions that are associated with the menu item. | |
PermissionMode | Sets or retrieves the mode of the Permissions property of the menu item. | |
Permissions | Sets or retrieves the permissions that are required to view the menu item. | |
PermissionsString | Sets or retrieves the Permissions property as a string. | |
QueryStringParametersToInclude | Sets or retrieves the list of query string parameters to be added to the ClientOnClickhref property of the menu item. | |
RequiredFeatures | Sets or retrieves the list of features that must be active in the current site to view the menu item. | |
RibbonCommand | ||
RibbonCommandValueId | ||
RibbonContextualGroupCommand | ||
RibbonGroupCommand | ||
RibbonImage16by16 | ||
RibbonImage32by32 | ||
RibbonTabCommand | ||
Sequence | Sets or retrieves the place where the menu item appears in the sequence of menu items. | |
ShowOnlyIfUIVersionConfigurationEnabled | ||
Site | (Inherited from Control.) | |
SkinID | (Inherited from Control.) | |
TemplateControl | (Inherited from Control.) | |
TemplateSourceDirectory | (Inherited from Control.) | |
Text | Sets or retrieves the text label for the menu item. | |
TextScript | Sets or retrieves a client-side Ecma script that is associated with the text label of the menu item. | |
Title | Sets or retrieves the title for the menu item. | |
UniqueID | (Inherited from Control.) | |
UseShortId | Sets or retrieves a value that indicates whether the control uses the short version of the control identifier. | |
ViewState | (Inherited from Control.) | |
ViewStateIgnoresCase | (Inherited from Control.) | |
VisibilityFeatureId | ||
Visible | (Inherited from Control.) |
Top
Methods
Name | Description | |
---|---|---|
AddedControl | (Inherited from Control.) | |
AddParsedSubObject | (Inherited from Control.) | |
ApplyStyleSheetSkin | (Inherited from Control.) | |
BuildProfileTree | (Inherited from Control.) | |
ClearChildControlState | (Inherited from Control.) | |
ClearChildState | (Inherited from Control.) | |
ClearChildViewState | (Inherited from Control.) | |
ClientOnClickUsingPostBackEventFromControl(Control) | Sets the ClientOnClickScript property by using the client-side Ecma script that causes a post back by using the specified server control. | |
ClientOnClickUsingPostBackEventFromControl(Control, String) | Sets the ClientOnClickScript property by using the client-side Ecms script that causes a post back by using the specified server control and token-replacement parameter. | |
CreateChildControls | (Inherited from Control.) | |
CreateControlCollection | (Inherited from Control.) | |
DataBind() | (Inherited from Control.) | |
DataBind(Boolean) | (Inherited from Control.) | |
DataBindChildren | (Inherited from Control.) | |
Dispose | (Inherited from Control.) | |
EnsureChildControls | (Inherited from Control.) | |
EnsureID | (Inherited from Control.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindControl(String) | (Inherited from Control.) | |
FindControl(String, Int32) | (Inherited from Control.) | |
Focus | (Inherited from Control.) | |
GetDesignModeState | (Inherited from Control.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
HasControls | (Inherited from Control.) | |
HasEvents | (Inherited from Control.) | |
IsLiteralContent | (Inherited from Control.) | |
LoadControlState | (Inherited from Control.) | |
LoadViewState | Preserves the values of private members by restoring them from view state during post back. (Overrides Control.LoadViewState(Object).) | |
MapPathSecure | (Inherited from Control.) | |
MemberwiseClone | (Inherited from Object.) | |
OnBubbleEvent | (Inherited from Control.) | |
OnDataBinding | (Inherited from Control.) | |
OnInit | Raises an event when the server control is initialized. (Overrides Control.OnInit(EventArgs).) | |
OnLoad | Raises an event when the server control is loaded. (Overrides Control.OnLoad(EventArgs).) | |
OnPreRender | Raises an event after the control is loaded but prior to rendering. (Overrides Control.OnPreRender(EventArgs).) | |
OnPreRenderOverride | Raises an event after the control is loaded but prior to rendering, regardless of permissions settings. | |
OnUnload | (Inherited from Control.) | |
OpenFile | (Inherited from Control.) | |
RaiseBubbleEvent | (Inherited from Control.) | |
RemovedControl | (Inherited from Control.) | |
Render | Sends the content of the control to the specified HtmlTextWriter object, which writes the content that is rendered on the client. (Overrides Control.Render(HtmlTextWriter).) | |
RenderChildren | (Inherited from Control.) | |
RenderControl(HtmlTextWriter) | (Inherited from Control.) | |
RenderControl(HtmlTextWriter, ControlAdapter) | (Inherited from Control.) | |
ResolveAdapter | (Inherited from Control.) | |
ResolveClientUrl | (Inherited from Control.) | |
ResolveUrl | (Inherited from Control.) | |
SaveControlState | (Inherited from Control.) | |
SaveViewState | Saves the view state of the control. (Overrides Control.SaveViewState().) | |
SetDesignModeState | (Inherited from Control.) | |
SetRenderMethodDelegate | (Inherited from Control.) | |
ToString | (Inherited from Object.) | |
TrackViewState | (Inherited from Control.) |
Top
Events
Name | Description | |
---|---|---|
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
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.) | |
IControlDesignerAccessor.GetDesignModeState | (Inherited from Control.) | |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) | |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) | |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) | |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) | |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top