ToolBarMenuButton 成员

代表工具栏菜单按钮。

ToolBarMenuButton 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 ToolBarMenuButton 初始化WebControlsToolBarMenuButton类的新实例。

页首

属性

  名称 说明
公共属性 AccessKey 获取或设置的访问的关键属性。
受保护的属性 Adapter (从 Control 继承。)
公共属性 AlignmentElementOverrideClientId 允许重写菜单对齐本身与客户端元素。
公共属性 AlignToParent AlignToParent 指定是否应为其父元素对齐菜单
公共属性 AlternateTemplate 获取或设置呈现在上下文中,如特定窗体,在呈现具有Template的控件属性将为不适当的控件模板。 (从 TemplateBasedControl 继承。)
公共属性 AlternateTemplateContainsCallbackMenuItems 获取或设置一个值,该值指示此ToolBarMenuButton控件具有要使用回调添加菜单项。
公共属性 AlternateTemplateName 获取或设置在名为TemplateName属性的模板将不正确的上下文中可以使用呈现模板的名称。 (从 TemplateBasedControl 继承。)
公共属性 AppRelativeTemplateSourceDirectory (从 Control 继承。)
公共属性 BindingContainer (从 Control 继承。)
公共属性 CallbackVisibileToUnauthenticated 获取或设置指示仅经过身份验证时替代模板包含回调菜单项,用户会看到按钮的标志。
公共属性 CallbackVisibilityPermission 获取或设置一组一个或多个权限的当前用户需要至少一个要替代模板包含回调菜单项时,请参阅按钮。
受保护的属性 ChildControlsCreated (从 Control 继承。)
公共属性 ClientID (从 Control 继承。)
公共属性 ClientIDMode (从 Control 继承。)
受保护的属性 ClientIDSeparator (从 Control 继承。)
受保护的属性 Context (从 Control 继承。)
公共属性 Controls 获取一个对象,包含TemplateBasedControl对象的子控件。 (从 TemplateBasedControl 继承。)
受保护的属性 ControlTemplate (覆盖 TemplateBasedControl.ControlTemplate。)
公共属性 CustomAlternateTemplate 获取或设置自定义的备用模板。 (从 TemplateBasedControl 继承。)
公共属性 CustomTemplate 获取或设置自定义模板。 (从 TemplateBasedControl 继承。)
公共属性 DataItemContainer (从 Control 继承。)
公共属性 DataKeysContainer (从 Control 继承。)
受保护的属性 DefaultAlternateTemplateName 获取默认备用呈现模板的名称。 (从 TemplateBasedControl 继承。)
受保护的属性 DefaultTemplateName 获取默认呈现模板的名称。 (从 TemplateBasedControl 继承。)
受保护的属性 DesignMode (从 Control 继承。)
公共属性 EnableTheming (从 Control 继承。)
公共属性 EnableViewState (从 Control 继承。)
受保护的属性 Events (从 Control 继承。)
受保护的属性 HasChildViewState (从 Control 继承。)
公共属性 ID (从 Control 继承。)
受保护的属性 IdSeparator (从 Control 继承。)
公共属性 ImageUrl
公共属性 InDesign (从 SPControl 继承。)
受保护的属性 IsChildControlStateCleared (从 Control 继承。)
受保护的属性 IsTrackingViewState (从 Control 继承。)
受保护的属性 IsViewStateEnabled (从 Control 继承。)
公共属性 List 获取列表属性。
公共属性 ListId 获取 ListId 属性。
受保护的属性 LoadViewStateByID (从 Control 继承。)
公共属性 MenuAlignment MenuAlignment: 指定是否菜单左或向右对齐
公共属性 MenuControl 获取或设置 MenuControl 属性。
公共属性 MenuNotVisibleHtml MenuNotVisibleHtml: 将呈现可见时 HTML = false
公共属性 MenuTemplateControl 获取或设置 MenuTemplateControl 属性。
公共属性 NamingContainer (从 Control 继承。)
公共属性 Page (从 Control 继承。)
公共属性 PageUri 获取或设置包含该控件的页面的统一资源标识符 (URI)。 (从 SPControl 继承。)
公共属性 Parent (从 Control 继承。)
公共属性 PrefixHtml 获取或设置 PrefixHtml 属性。
受保护的属性 RegisterAs (从 SPControl 继承。)
公共属性 RenderContext 获取或设置在其中呈现控件的Microsoft SharePoint Foundation上下文。 (从 TemplateBasedControl 继承。)
公共属性 RenderingCompatibility (从 Control 继承。)
公共属性 Site (从 Control 继承。)
公共属性 SkinID (从 Control 继承。)
公共属性 SuffixHtml 获取或设置 SuffixHtml 属性。
公共属性 Template 获取或设置呈现控件的模板。 (从 TemplateBasedControl 继承。)
公共属性 TemplateContainer 获取实例化内容的模板的容器控件。 (从 TemplateBasedControl 继承。)
公共属性 TemplateControl (从 Control 继承。)
公共属性 TemplateName 获取或设置控件的呈现模板的名称。 (从 TemplateBasedControl 继承。)
受保护的属性 TemplateOverride 获取或设置一个值,该值由Template属性引用的模板,还是由AlternateTemplate属性引用的一个应由CreateChildControls方法实例化。 (从 TemplateBasedControl 继承。)
公共属性 TemplateSourceDirectory (从 Control 继承。)
公共属性 Text 获取或设置工具栏菜单按钮文本。
公共属性 ToolTip
公共属性 UniqueID (从 Control 继承。)
公共属性 Version 获取或设置一个值,指示是否使用父网站的用户界面SharePoint Foundation的当前版本或以前版本的 UI。 (从 TemplateBasedControl 继承。)
公共属性 View 获取工具栏菜单按钮的视图。
公共属性 ViewId ListId: [ReadOnly 属性] Guid 类型的列表 id 由 RenderContext.ViewContext
受保护的属性 ViewState (从 Control 继承。)
受保护的属性 ViewStateIgnoresCase (从 Control 继承。)
公共属性 ViewStateMode (从 Control 继承。)
公共属性 Visible 重写考虑注释的子控件的可见性: 避免子控件的子控件可见检查时调用父控件可见时调用 HasVisibleButtonItem 以递归方式。 (覆盖 Control.Visible。)
公共属性 Web 获取控件的呈现上下文 ; 的网站这是SPContext.Web值对象的属性由TemplateBasedControlRenderContext()属性。 (从 TemplateBasedControl 继承。)

页首

方法

  名称 说明
受保护的方法 AddedControl (从 Control 继承。)
公共方法 AddMenuItem(String, String, String, String, String, String) 将菜单项添加到具有指定标识符工具栏菜单按钮,显示名称、 图像 URL 说明,请导航 URL 和脚本。
公共方法 AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) 将菜单项添加具有指定标识符,显示名称、 URL 说明,请导航 URL、 上单击脚本、 所需的权限和上下文。
受保护的方法 AddMenuItems AddMenuItems: 让子类别,若要使用此方法添加菜单项。
公共方法 AddMenuItemSeparator AddMenuItems: 允许子类别,若要替代此方法来添加菜单项。
受保护的方法 AddParsedSubObject (从 Control 继承。)
公共方法 ApplyStyleSheetSkin (从 Control 继承。)
受保护的方法 BuildProfileTree (从 Control 继承。)
受保护的方法 CallbackMenuGenerationHandler MenuTemplate配置要在回调之后添加菜单项。
受保护的方法 ClearCachedClientID (从 Control 继承。)
受保护的方法 ClearChildControlState (从 Control 继承。)
受保护的方法 ClearChildState (从 Control 继承。)
受保护的方法 ClearChildViewState (从 Control 继承。)
受保护的方法 ClearEffectiveClientIDMode (从 Control 继承。)
受保护的方法 CreateChildControls 创建子控件的工具栏菜单按钮。 (覆盖 TemplateBasedControl.CreateChildControls()。)
受保护的方法 CreateControlCollection (从 Control 继承。)
公共方法 DataBind() (从 Control 继承。)
受保护的方法 DataBind(Boolean) (从 Control 继承。)
受保护的方法 DataBindChildren (从 Control 继承。)
公共方法 Dispose (从 Control 继承。)
受保护的方法 EnsureChildControls (从 Control 继承。)
受保护的方法 EnsureID (从 Control 继承。)
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 FindControl(String) (从 Control 继承。)
受保护的方法 FindControl(String, Int32) (从 Control 继承。)
公共方法 Focus (从 Control 继承。)
受保护的方法 GetDesignModeState (从 Control 继承。)
公共方法 GetDesignTimeHtml 在 Web 站点开发工具 (如 Microsoft Office FrontPage 2003 中进行编辑,为设计时 HTML 中返回的控件。 (从 SPControl 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法静态成员 GetMenuControl 获取一个菜单控件。
公共方法 GetMenuItem 获取一个菜单项。
公共方法 GetRouteUrl(Object) (从 Control 继承。)
公共方法 GetRouteUrl(RouteValueDictionary) (从 Control 继承。)
公共方法 GetRouteUrl(String, Object) (从 Control 继承。)
公共方法 GetRouteUrl(String, RouteValueDictionary) (从 Control 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUniqueIDRelativeTo (从 Control 继承。)
公共方法 HasControls (从 Control 继承。)
受保护的方法 HasEvents (从 Control 继承。)
公共方法 HideMenuItemGroup HideMenuItemGroup: 隐藏给定 id 的菜单项的组。
受保护的方法 IsLiteralContent (从 Control 继承。)
受保护的方法 LoadControlState (从 Control 继承。)
受保护的方法 LoadViewState (从 Control 继承。)
受保护的方法 MapPathSecure (从 Control 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
受保护的方法 OnBubbleEvent (从 Control 继承。)
受保护的方法 OnDataBinding (从 Control 继承。)
受保护的方法 OnInit 引发Init事件。 (覆盖 Control.OnInit(EventArgs)。)
受保护的方法 OnLoad (覆盖 TemplateBasedControl.OnLoad(EventArgs)。)
受保护的方法 OnPreRender (覆盖 Control.OnPreRender(EventArgs)。)
受保护的方法 OnUnload (从 Control 继承。)
受保护的方法 OpenFile (从 Control 继承。)
受保护的方法 RaiseBubbleEvent (从 Control 继承。)
受保护的方法 RemovedControl (从 Control 继承。)
受保护的方法 Render 呈现工具栏菜单按钮。 (覆盖 TemplateBasedControl.Render(HtmlTextWriter)。)
受保护的方法 RenderChildren (从 Control 继承。)
公共方法 RenderControl(HtmlTextWriter) (从 Control 继承。)
受保护的方法 RenderControl(HtmlTextWriter, ControlAdapter) (从 Control 继承。)
受保护的方法 ResolveAdapter (从 Control 继承。)
公共方法 ResolveClientUrl (从 Control 继承。)
公共方法 ResolveUrl (从 Control 继承。)
受保护的方法 SaveControlState (从 Control 继承。)
受保护的方法 SaveViewState (从 Control 继承。)
受保护的方法 SetDesignModeState (从 Control 继承。)
受保护的方法 SetMenuItemProperties SetMenuItemProperties: 允许子类别,才能使用此方法时从模板创建的菜单项设置菜单项属性
公共方法 SetRenderMethodDelegate (从 Control 继承。)
公共方法 ShowMenuItemGroup ShowMenuItemGroup: 显示一组给定 id 的菜单项。
公共方法 ToString (从 Object 继承。)
受保护的方法 TrackViewState (从 Control 继承。)

页首

事件

  名称 说明
公共事件 DataBinding (从 Control 继承。)
公共事件 Disposed (从 Control 继承。)
公共事件 Init (从 Control 继承。)
公共事件 Load (从 Control 继承。)
公共事件 PreRender (从 Control 继承。)
公共事件 Unload (从 Control 继承。)

页首

显式 接口 实现

  名称 说明
显式接口实现私有方法 IParserAccessor.AddParsedSubObject (从 Control 继承。)
显式接口实现私有属性 IControlBuilderAccessor.ControlBuilder (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.DataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.Expressions (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.GetDesignModeState (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.HasDataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.HasExpressions (从 Control 继承。)
显式接口实现私有方法 IDesignerEventAccessor.OnDesignerLoad (从 SPControl 继承。)
显式接口实现私有方法 IDesignerEventAccessor.OnDesignerPreRender (从 SPControl 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetDesignModeState (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetOwnerControl (从 Control 继承。)
显式接口实现私有属性 IControlDesignerAccessor.UserData (从 Control 继承。)

页首

另请参阅

引用

ToolBarMenuButton 类

Microsoft.SharePoint.WebControls 命名空间