Compartilhar via


ViewSelectorMenu members

Represents a control used to select a view of a list on a toolbar.

The ViewSelectorMenu type exposes the following members.

Constructors

  Name Description
Public method ViewSelectorMenu Initializes a new instance of the ViewSelectorMenu class.

Top

Properties

  Name Description
Public property AccessKey Gets or sets the access key property. (Inherited from ToolBarMenuButton.)
Protected property Adapter (Inherited from Control.)
Public property AlignmentElementOverrideClientId Allows overriding the client-side element that the menu aligns itself with. (Inherited from ToolBarMenuButton.)
Public property AlignToParent AlignToParent Specifies whether the menu should be aligned to its parent element (Inherited from ToolBarMenuButton.)
Public property AlternateTemplate Gets or sets the template that renders the control in contexts, such as a particular form, in which rendering the control with the Template property would be inappropriate. (Inherited from TemplateBasedControl.)
Public property AlternateTemplateContainsCallbackMenuItems Gets or sets a value that indicates whether or not this ToolBarMenuButton control has menu items to be added using a callback. (Inherited from ToolBarMenuButton.)
Public property AlternateTemplateName Gets or sets the name of a rendering template that can be used in contexts in which the template named by the TemplateName property would be inappropriate. (Inherited from TemplateBasedControl.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property BindingContainer (Inherited from Control.)
Public property CallbackVisibileToUnauthenticated Gets or sets a flag which indicates whether or not only authenticated users should see the button when the alternate template contains callback menu items. (Inherited from ToolBarMenuButton.)
Public property CallbackVisibilityPermission Gets or sets a group of one or more rights which the current user needs at least one of in order to see the button when the alternate template contains callback menu items. (Inherited from ToolBarMenuButton.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Public property ClientIDMode (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property Controls Gets an object that contains the child controls of the TemplateBasedControl object. (Inherited from TemplateBasedControl.)
Protected property ControlTemplate (Inherited from ToolBarMenuButton.)
Public property CustomAlternateTemplate Gets or sets a custom alternate template. (Inherited from TemplateBasedControl.)
Public property CustomTemplate Gets or sets a custom template. (Inherited from TemplateBasedControl.)
Public property DataItemContainer (Inherited from Control.)
Public property DataKeysContainer (Inherited from Control.)
Protected property DefaultAlternateTemplateName Gets the name of the default alternate rendering template. (Inherited from TemplateBasedControl.)
Protected property DefaultTemplateName Gets the name of the default rendering template. (Inherited from TemplateBasedControl.)
Protected property DesignMode (Inherited from Control.)
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Protected property HasChildViewState (Inherited from Control.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property ImageUrl (Inherited from ToolBarMenuButton.)
Public property InDesign (Inherited from SPControl.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property List Gets the List property. (Inherited from ToolBarMenuButton.)
Public property ListId Gets the ListId property. (Inherited from ToolBarMenuButton.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property MenuAlignment MenuAlignment: Specifies whether the menu is left or right aligned (Inherited from ToolBarMenuButton.)
Public property MenuControl Gets or sets the MenuControl property. (Inherited from ToolBarMenuButton.)
Public property MenuNotVisibleHtml MenuNotVisibleHtml: HTML that will render when visible=false (Inherited from ToolBarMenuButton.)
Public property MenuTemplateControl Gets or sets the MenuTemplateControl property. (Inherited from ToolBarMenuButton.)
Public property NamingContainer (Inherited from Control.)
Public property Page (Inherited from Control.)
Public property PageUri Gets or sets the Uniform Resource Identifier (URI) of the page that contains the control. (Inherited from SPControl.)
Public property Parent (Inherited from Control.)
Public property PrefixHtml Gets or sets the PrefixHtml property. (Inherited from ToolBarMenuButton.)
Protected property RegisterAs (Inherited from SPControl.)
Public property RenderContext Gets or sets the Microsoft SharePoint Foundation context in which the control is rendered. (Inherited from TemplateBasedControl.)
Public property RenderingCompatibility (Inherited from Control.)
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property SuffixHtml Gets or sets the SuffixHtml property. (Inherited from ToolBarMenuButton.)
Public property Template Gets or sets the template that renders the control. (Inherited from TemplateBasedControl.)
Public property TemplateContainer Gets the container control that instantiates the content template. (Inherited from TemplateBasedControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateName Gets or sets the name of the control's rendering template. (Inherited from TemplateBasedControl.)
Protected property TemplateOverride Gets or sets a value indicating whether the template referred to by the Template property or the one referred to by the AlternateTemplate property should be instantiated by the CreateChildControls method. (Inherited from TemplateBasedControl.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property Text Text: display name of this menu button (Overrides ToolBarMenuButton.Text.)
Public property ToolTip (Inherited from ToolBarMenuButton.)
Public property UniqueID (Inherited from Control.)
Public property Version Gets or sets the a value that indicates whether the UI of the parent Web site is using the UI of the current version of the SharePoint Foundation or the previous version. (Inherited from TemplateBasedControl.)
Public property View Gets the view for the toolbar menu button. (Inherited from ToolBarMenuButton.)
Public property ViewId ListId: [ReadOnly property] Guid type list id determined by RenderContext.ViewContext (Inherited from ToolBarMenuButton.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property ViewStateMode (Inherited from Control.)
Public property Visible Override Visible to consider child controls Note: avoid calling HasVisibleButtonItem recursively when child controls call parent control Visible during the check of child control Visible. (Inherited from ToolBarMenuButton.)
Public property Web Gets the site of the control's rendering context; which is the value of the SPContext.Web property of the object held by the TemplateBasedControlRenderContext() property. (Inherited from TemplateBasedControl.)

Top

Methods

  Name Description
Protected method AddedControl (Inherited from Control.)
Public method AddMenuItem(String, String, String, String, String, String) Adds a menu item to the toolbar menu button with the specified identifier, display name, image URL, description, navigate URL, and script. (Inherited from ToolBarMenuButton.)
Public method AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) Adds a menu item with the specified identifier, display name, URL, description, navigate URL, on-click script, required permissions, and context. (Inherited from ToolBarMenuButton.)
Protected method AddMenuItems (Overrides ToolBarMenuButton.AddMenuItems().)
Public method AddMenuItemSeparator AddMenuItems: Allow child class to override this method to add menu items. (Inherited from ToolBarMenuButton.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method CallbackMenuGenerationHandler Configures the MenuTemplate with the menu items to add after the callback. (Inherited from ToolBarMenuButton.)
Protected method ClearCachedClientID (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Protected method ClearEffectiveClientIDMode (Inherited from Control.)
Protected method CreateChildControls Adds available menu items to the ViewSelectorMenu control. (Overrides ToolBarMenuButton.CreateChildControls().)
Protected method CreateControlCollection (Inherited from Control.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetDesignTimeHtml Returns the control as design-time HTML for editing in Web site development tools such as Microsoft Office FrontPage 2003. (Inherited from SPControl.)
Public method GetHashCode (Inherited from Object.)
Public method GetMenuItem Gets a menu item. (Inherited from ToolBarMenuButton.)
Public method GetRouteUrl(Object) (Inherited from Control.)
Public method GetRouteUrl(RouteValueDictionary) (Inherited from Control.)
Public method GetRouteUrl(String, Object) (Inherited from Control.)
Public method GetRouteUrl(String, RouteValueDictionary) (Inherited from Control.)
Public method GetType (Inherited from Object.)
Public method GetUniqueIDRelativeTo (Inherited from Control.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Public method HideMenuItemGroup HideMenuItemGroup: hide a group of menu items for the given id. (Inherited from ToolBarMenuButton.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from Control.)
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 Raises the Init event. (Inherited from ToolBarMenuButton.)
Protected method OnLoad (Inherited from ToolBarMenuButton.)
Protected method OnPreRender (Inherited from ToolBarMenuButton.)
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 Renders the toolbar menu button. (Inherited from ToolBarMenuButton.)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from Control.)
Protected method SetDesignModeState (Inherited from Control.)
Protected method SetMenuItemProperties (Overrides ToolBarMenuButton.SetMenuItemProperties().)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ShowMenuItemGroup ShowMenuItemGroup: show a group of menu items for the given id. (Inherited from ToolBarMenuButton.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Control.)

Top

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 implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerLoad (Inherited from SPControl.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerPreRender (Inherited from SPControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See also

Reference

ViewSelectorMenu class

Microsoft.SharePoint.WebControls namespace