共用方式為


WebPartZone members

Include protected members
Include inherited members

可讓您建立的 Web 組件容器的區域。這個類別的屬性可讓您指定區域會出現在您的Web Parts page區域本身的行為的方式。例如,當您建立區域物件時,您可以允許個人化和/或自訂 Web 組件放在區域內。

The WebPartZone type exposes the following members.

Constructors

  Name Description
Public method WebPartZone 初始化WebPartZone類別的新執行個體。

Top

Properties

  Name Description
Public property AccessKey (Inherited from WebControl.)
Protected property Adapter (Inherited from Control.)
Public property AllowCustomization 取得或設定是否可以在所有使用者的使用者介面修改區域內的 Web 組件。
Public property AllowLayoutChange 取得或設定值,這個值,指出是否可以變更區域內的WebPart控制項的配置。 (Overrides WebPartZoneBase.AllowLayoutChange.)
Public property AllowPersonalization 取得或設定值,指出是否可以針對個別使用者的使用者介面中修改 Web 組件區域內。
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from WebControl.)
Public property BackColor (Inherited from WebControl.)
Public property BackImageUrl (Inherited from WebZone.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebPartZoneBase.)
Public property BorderStyle (Inherited from WebPartZoneBase.)
Public property BorderWidth (Inherited from WebPartZoneBase.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Public property ClientIDMode (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property CloseVerb (Inherited from WebPartZoneBase.)
Public property ConnectVerb (Inherited from WebPartZoneBase.)
Public property ContainerWidth 取得或設定包含 Web 組件的區域寬度的提示。
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from CompositeControl.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Public property DataItemContainer (Inherited from Control.)
Public property DataKeysContainer (Inherited from Control.)
Public property DeleteVerb (Inherited from WebPartZoneBase.)
Protected property DesignMode (Inherited from Control.)
Public property DisplayTitle 取得目前所所使用的文字做為標題WebPartZone時是可見的區域本身的值。 (Overrides WebPartZoneBase.DisplayTitle.)
Protected property DragDropEnabled (Inherited from WebPartZoneBase.)
Public property DragHighlightColor (Inherited from WebPartZoneBase.)
Public property EditVerb (Inherited from WebPartZoneBase.)
Public property EmptyZoneText (Inherited from WebPartZoneBase.)
Public property EmptyZoneTextStyle (Inherited from WebZone.)
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Public property ErrorStyle (Inherited from WebZone.)
Protected property Events (Inherited from Control.)
Public property ExportVerb (Inherited from WebPartZoneBase.)
Public property Font (Inherited from WebControl.)
Public property FooterStyle (Inherited from WebZone.)
Public property ForeColor (Inherited from WebControl.)
Public property FrameType Obsolete. 取得或設定 Web 組件WebPartZone控制項中包含框架的預設樣式。
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Protected property HasFooter (Inherited from WebPartZoneBase.)
Protected property HasHeader (Inherited from WebPartZoneBase.)
Public property HeaderStyle (Inherited from WebZone.)
Public property HeaderText 取得或設定區域頁首區的文字。 (Overrides WebZone.HeaderText.)
Public property Height (Inherited from WebControl.)
Public property HelpVerb (Inherited from WebPartZoneBase.)
Public property ID 取得或設定指派給WebPartZone控制項的識別項。 (Overrides Control.ID.)
Protected property IdSeparator (Inherited from Control.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEnabled (Inherited from WebControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property LayoutOrientation (Inherited from WebPartZoneBase.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property LockLayout Obsolete. 取得或設定是否在區域內的 Web 組件可以新增、 刪除、 調整大小或移動。
Public property MenuCheckImageStyle (Inherited from WebPartZoneBase.)
Public property MenuCheckImageUrl (Inherited from WebPartZoneBase.)
Public property MenuLabelHoverStyle (Inherited from WebPartZoneBase.)
Public property MenuLabelStyle (Inherited from WebPartZoneBase.)
Public property MenuLabelText (Inherited from WebPartZoneBase.)
Public property MenuPopupImageUrl (Inherited from WebPartZoneBase.)
Public property MenuPopupStyle (Inherited from WebPartZoneBase.)
Public property MenuVerbHoverStyle (Inherited from WebPartZoneBase.)
Public property MenuVerbStyle (Inherited from WebPartZoneBase.)
Public property MinimizeVerb (Inherited from WebPartZoneBase.)
Public property NamingContainer (Inherited from Control.)
Public property Orientation Obsolete. 取得或設定哪一個方向 Web 組件會放在區域中。
Public property Padding (Inherited from WebZone.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PartChromePadding (Inherited from WebZone.)
Public property PartChromeStyle (Inherited from WebZone.)
Public property PartChromeType (Inherited from WebZone.)
Public property PartStyle (Inherited from WebZone.)
Public property PartTitleStyle (Inherited from WebZone.)
Public property QuickAdd Obsolete. This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.
Protected property RenderClientScript (Inherited from WebZone.)
Public property RenderingCompatibility (Inherited from Control.)
Public property RestoreVerb (Inherited from WebPartZoneBase.)
Public property SelectedPartChromeStyle (Inherited from WebPartZoneBase.)
Public property ShowTitleIcons (Inherited from WebPartZoneBase.)
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property Style (Inherited from WebControl.)
Public property SupportsDisabledAttribute (Inherited from CompositeControl.)
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from WebZone.)
Protected property TagName (Inherited from WebControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property Title Obsolete. 取得或設定在Web Parts page設計工具] 和 [FrontPage 用來代表一個 「 區域 」 使用者好記的名稱。這個屬性也可以指定當地語系化字串。
Public property TitleBarVerbButtonType (Inherited from WebPartZoneBase.)
Public property TitleBarVerbStyle (Inherited from WebPartZoneBase.)
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Public property VerbButtonType (Inherited from WebPartZoneBase.)
Public property VerbStyle (Inherited from WebZone.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property ViewStateMode (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property WebPartChrome (Inherited from WebPartZoneBase.)
Protected property WebPartManager (Inherited from WebZone.)
Public property WebParts (Inherited from WebPartZoneBase.)
Public property WebPartVerbRenderMode (Inherited from WebPartZoneBase.)
Public property Width (Inherited from WebControl.)
Public property ZoneTemplate (Inherited from WebPartZone.)

Top

Methods

  Name Description
Protected method AddAttributesToRender (Inherited from WebControl.)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject 可避免已剖析的項目新增到ControlCollection的WebPartZone。 (Overrides Control.AddParsedSubObject(Object).)
Public method ApplyStyle (Inherited from WebControl.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
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 CloseWebPart (Inherited from WebPartZoneBase.)
Protected method ConnectWebPart (Inherited from WebPartZoneBase.)
Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls 建立一組子包含在此區域的控制項。 (Overrides WebPartZoneBase.CreateChildControls().)
Protected method CreateControlCollection 建立包含區域中的所有控制項的ControlCollection 。 (Overrides WebPartZoneBase.CreateControlCollection().)
Protected method CreateControlStyle (Inherited from WebPartZoneBase.)
Protected method CreateWebPartChrome 建立WebPartChrome物件,若要變更的區域中的WebPart控制項外觀。 (Overrides WebPartZoneBase.CreateWebPartChrome().)
Public method DataBind() (Inherited from CompositeControl.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Protected method DeleteWebPart (Inherited from WebPartZoneBase.)
Public method Dispose 釋放區域在卸載之前由 Web 組件區域所擁有的所有資源。 (Overrides Control.Dispose().)
Protected method EditWebPart (Inherited from WebPartZoneBase.)
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 GetEffectiveChromeType 取得指定區域的 [ PartChromeType ] 屬性和目前的顯示模式的Web Parts pageWebPart控制項的實際或有效目前的PartChromeType()值。 (Overrides WebPartZoneBase.GetEffectiveChromeType(Part).)
Public method GetHashCode (Inherited from Object.)
Protected method GetInitialWebParts (Inherited from WebPartZone.)
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.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from WebPartZoneBase.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method MinimizeWebPart (Inherited from WebPartZoneBase.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnCreateVerbs 引發CreateVerbs事件。 (Overrides WebPartZoneBase.OnCreateVerbs(WebPartVerbsEventArgs).)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit 處理Init事件。 (Overrides WebPartZone.OnInit(EventArgs).)
Protected method OnLoad 處理Load事件。 (Overrides Control.OnLoad(EventArgs).)
Protected method OnPreRender 處理PreRender事件。 (Overrides WebPartZoneBase.OnPreRender(EventArgs).)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RaisePostBackEvent (Inherited from WebPartZoneBase.)
Protected method RecreateChildControls (Inherited from CompositeControl.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render WebPartZone的本文的 HTML 呈現。 (Overrides WebPartZoneBase.Render(HtmlTextWriter).)
Public method RenderBeginTag (Inherited from WebZone.)
Protected method RenderBody (Inherited from WebPartZoneBase.)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents (Inherited from WebZone.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method RenderDropCue (Inherited from WebPartZoneBase.)
Public method RenderEndTag (Inherited from WebControl.)
Protected method RenderFooter 會呈現頁尾的WebPartZone。 (Overrides WebZone.RenderFooter(HtmlTextWriter).)
Protected method RenderHeader 呈現WebPartZone標的頭。 (Overrides WebPartZoneBase.RenderHeader(HtmlTextWriter).)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method RestoreWebPart (Inherited from WebPartZoneBase.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from WebPartZoneBase.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from WebPartZoneBase.)

Top

Events

  Name Description
Public event CreateVerbs (Inherited from WebPartZoneBase.)
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 IAttributeAccessor.GetAttribute (Inherited from WebControl.)
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 IPostBackEventHandler.RaisePostBackEvent (Inherited from WebPartZoneBase.)
Explicit interface implemetationPrivate method ICompositeControlDesignerAccessor.RecreateChildControls (Inherited from CompositeControl.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from WebControl.)
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

請參閱

參照

WebPartZone class

Microsoft.SharePoint.WebPartPages namespace