MenuItemTemplate Members (Microsoft.SharePoint.WebControls)

Represents a control that creates an item in a drop-down menu.

The following tables list the members exposed by the MenuItemTemplate type.

Public Constructors

  Name Description
Public method MenuItemTemplate Overloaded. Initializes a new instance of the MenuItemTemplate class.
Top
Public Properties

(see also Protected Properties )
  Name Description
Public property AppRelativeTemplateSourceDirectory  (inherited from Control)
Public property Attributes Gets the collection of attributes in the XML markup of the menu item.
Public property AuthenticationRestrictions Sets or retrieves the authentication that is required to view the menu item.
Public property BindingContainer  (inherited from Control)
Public property ClientID Overridden. Gets the ID of the control.
Public property ClientOnClickNavigateUrl Sets or retrieves the URL to open when the menu item is clicked.
Public property ClientOnClickPostBackConfirmation Sets or retrieves a confirmation message to display when the ClientOnClickUsingPostBackEvent property is set.
Public property ClientOnClickScript Sets or retrieves the client-side Ecma script to execute when the menu entry is clicked.
Public property ClientOnClickUsingPostBackEvent Sets or retrieves the control ID and parameter for the post-back event.
Public property Controls Overridden. Retrieves an empty ControlCollection object.
Public property Description Sets or retrieves a text description of the menu item.
Public property DescriptionScript Sets or retrieves a client-side Ecma script that is associated with the description of the menu item.
Public property EnableTheming  (inherited from Control)
Public property EnableViewState  (inherited from Control)
Public property HiddenScript Sets or retrieves the client-side Ecma script to execute to determine whether the menu item should be hidden.
Public property ID  (inherited from Control)
Public property ImageScript Sets or retrieves a client-side Ecma script that is associated with the image of the menu item.
Public property ImageUrl Sets or retrieves the URL of the image to be displayed on this menu item.
Public property MenuGroupId Sets or retrieves the identifier of the menu group of the menu item.
Public property NamingContainer  (inherited from Control)
Public property Page  (inherited from Control)
Public property PageModes Sets or retrieves the page mode that is required to view the menu item.
Public property Parent  (inherited from Control)
Public property PermissionContext Sets or retrieves the context of the permissions that are associated with the menu item.
Public property PermissionMode Sets or retrieves the mode of the Permissions property of the menu item.
Public property Permissions Sets or retrieves the permissions that are required to view the menu item.
Public property PermissionsString Sets or retrieves the Permissions property as a string.
Public property QueryStringParametersToInclude Sets or retrieves the list of query string parameters to be added to the ClientOnClickNavigateUrl property of the menu item.
Public property RequiredFeatures Sets or retrieves the list of features that must be active in the current site to view the menu item.
Public property Sequence Sets or retrieves the place where the menu item appears in the sequence of menu items.
Public property Site  (inherited from Control)
Public property SkinID  (inherited from Control)
Public property TemplateControl  (inherited from Control)
Public property TemplateSourceDirectory  (inherited from Control)
Public property Text Sets or retrieves the text label for the menu item.
Public property TextScript Sets or retrieves a client-side Ecma script that is associated with the text label of the menu item.
Public property Title Sets or retrieves the title for the menu item.
Public property UniqueID  (inherited from Control)
Public property UseShortId Sets or retrieves a value that indicates whether the control uses the short version of the control identifier.
Public property Visible  (inherited from Control)
Top
Protected Properties

  Name Description
Protected property Adapter  (inherited from Control)
Protected property ChildControlsCreated  (inherited from Control)
Protected property ClientIDSeparator  (inherited from Control)
Protected property Context  (inherited from Control)
Protected property DesignMode  (inherited from Control)
Protected property Events  (inherited from Control)
Protected property HasChildViewState  (inherited from Control)
Protected property IdSeparator  (inherited from Control)
Protected property IsChildControlStateCleared  (inherited from Control)
Protected property IsTrackingViewState  (inherited from Control)
Protected property IsViewStateEnabled  (inherited from Control)
Protected property LoadViewStateByID  (inherited from Control)
Protected property ViewState  (inherited from Control)
Protected property ViewStateIgnoresCase  (inherited from Control)
Top
Public Methods

(see also Protected Methods )
  Name Description
Public method ApplyStyleSheetSkin  (inherited from Control)
Public method ClientOnClickUsingPostBackEventFromControl Overloaded. Sets the ClientOnClickScript property by using the client-side Ecma script that causes a post back.
Public method DataBind  Overloaded. (inherited from Control)
Public method Dispose  (inherited from Control)
Public method Equals  Overloaded. (inherited from Object)
Public method FindControl  Overloaded. (inherited from Control)
Public method Focus  (inherited from Control)
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method HasControls  (inherited from Control)
Public method OnPreRenderOverride Raises an event after the control is loaded but prior to rendering, regardless of permissions settings.
Public method Static ReferenceEquals  (inherited from Object)
Public method RenderControl  Overloaded. (inherited from Control)
Public method ResolveClientUrl  (inherited from Control)
Public method ResolveUrl  (inherited from Control)
Public method SetRenderMethodDelegate  (inherited from Control)
Public method ToString  (inherited from Object)
Top
Protected Methods

  Name Description
Protected method AddedControl  (inherited from Control)
Protected method AddParsedSubObject  (inherited from Control)
Protected method BuildProfileTree  (inherited from Control)
Protected method ClearChildControlState  (inherited from Control)
Protected method ClearChildState  (inherited from Control)
Protected method ClearChildViewState  (inherited from Control)
Protected method CreateChildControls  (inherited from Control)
Protected method CreateControlCollection  (inherited from Control)
Protected method DataBind  Overloaded. (inherited from Control)
Protected method DataBindChildren  (inherited from Control)
Protected method EnsureChildControls  (inherited from Control)
Protected method EnsureID  (inherited from Control)
Protected method Finalize  (inherited from Object)
Protected method FindControl  Overloaded. (inherited from Control)
Protected method GetDesignModeState  (inherited from Control)
Protected method HasEvents  (inherited from Control)
Protected method IsLiteralContent  (inherited from Control)
Protected method LoadControlState  (inherited from Control)
Protected method LoadViewState Overridden. Preserves the values of private members by restoring them from view state during post back.
Protected method MapPathSecure  (inherited from Control)
Protected method MemberwiseClone  (inherited from Object)
Protected method OnBubbleEvent  (inherited from Control)
Protected method OnDataBinding  (inherited from Control)
Protected method OnInit Overridden. Raises an event when the server control is initialized.
Protected method OnLoad Overridden. Raises an event when the server control is loaded.
Protected method OnPreRender Overridden. Raises an event after the control is loaded but prior to rendering.
Protected method OnUnload  (inherited from Control)
Protected method OpenFile  (inherited from Control)
Protected method RaiseBubbleEvent  (inherited from Control)
Protected method RemovedControl  (inherited from Control)
Protected method Render Overridden. Sends the content of the control to the specified HtmlTextWriter object, which writes the content that is rendered on the client.
Protected method RenderChildren  (inherited from Control)
Protected method RenderControl  Overloaded. (inherited from Control)
Protected method ResolveAdapter  (inherited from Control)
Protected method SaveControlState  (inherited from Control)
Protected method SaveViewState Overridden. Saves the view state of the control.
Protected method SetDesignModeState  (inherited from Control)
Protected method TrackViewState  (inherited from Control)
Top
Public Events

  Name Description
Public event DataBinding  (inherited from Control)
Public event Disposed  (inherited from Control)
Public event Init  (inherited from Control)
Public event Load  (inherited from Control)
Public event PreRender  (inherited from Control)
Public event Unload  (inherited from Control)
Top
Explicit Interface Implementations

  Name Description
Explicit interface implementation Method System.Web.UI.IControlDesignerAccessor.GetDesignModeState  (inherited from Control)
Explicit interface implementation Method System.Web.UI.IControlDesignerAccessor.SetDesignModeState  (inherited from Control)
Explicit interface implementation Method System.Web.UI.IControlDesignerAccessor.SetOwnerControl  (inherited from Control)
Explicit interface implementation Method System.Web.UI.IParserAccessor.AddParsedSubObject  (inherited from Control)
Explicit interface implementation Property System.Web.UI.IControlBuilderAccessor.ControlBuilder  (inherited from Control)
Explicit interface implementation Property System.Web.UI.IControlDesignerAccessor.UserData  (inherited from Control)
Explicit interface implementation Property System.Web.UI.IDataBindingsAccessor.DataBindings  (inherited from Control)
Explicit interface implementation Property System.Web.UI.IDataBindingsAccessor.HasDataBindings  (inherited from Control)
Explicit interface implementation Property System.Web.UI.IExpressionsAccessor.Expressions  (inherited from Control)
Explicit interface implementation Property System.Web.UI.IExpressionsAccessor.HasExpressions  (inherited from Control)
Top
See Also

Tags :


Page view tracker