WebPart members
Include protected members
Include inherited members
提供可用於建立Microsoft SharePoint Foundation網頁組件的基底類別。
The WebPart type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
WebPart | 初始化使用類別繼承的類別執行個體。此建構函式僅可以呼叫由繼承的類別。 |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AccessKey | (Inherited from WebControl.) |
![]() |
Adapter | (Inherited from Control.) |
![]() |
AllowClose | (Inherited from WebPart.) |
![]() |
AllowConnect | 取得或設定一個值,指出WebPart控制是否允許以該表單連線至其他控制項。 (Overrides WebPart.AllowConnect.) |
![]() |
AllowEdit | 取得或設定一個值,指出使用者是否可以修改WebPart控制項在個人檢視中。 (Overrides WebPart.AllowEdit.) |
![]() |
AllowHide | 取得或設定一個值,指出是否允許使用者隱藏網頁組件控制項。 (Overrides WebPart.AllowHide.) |
![]() |
AllowMinimize | 取得或設定是否將網頁組件可以最小化。 (Overrides WebPart.AllowMinimize.) |
![]() |
AllowRemove | Obsolete. 取得或設定是否可以從網頁組件頁面移除網頁組件,來控制IsIncluded屬性是否可以設定成false。 |
![]() |
AllowZoneChange | 取得或設定是否將網頁組件可由控制是否可以變更ZoneID屬性移動到不同的區域。 (Overrides WebPart.AllowZoneChange.) |
![]() |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) |
![]() |
Attributes | (Inherited from WebControl.) |
![]() |
AuthorizationFilter | 取得或設定任意的字串,以判斷是否已授權可新增至頁面的網頁組件。 (Overrides WebPart.AuthorizationFilter.) |
![]() |
BackColor | (Inherited from WebControl.) |
![]() |
BackImageUrl | (Inherited from Panel.) |
![]() |
BindingContainer | (Inherited from Control.) |
![]() |
BorderColor | (Inherited from WebControl.) |
![]() |
BorderStyle | (Inherited from WebControl.) |
![]() |
BorderWidth | (Inherited from WebControl.) |
![]() |
BrowserDesignMode | Obsolete. 取得是否網頁組件的網頁瀏覽器中處於設計模式 (修改其版面配置或屬性)。 |
![]() |
CacheType | 會決定的快取正在使用的網頁伺服器的類型。 |
![]() |
Caption | Obsolete. 取得或設定 string,新增下列網頁組件的標題列中的標題。此屬性僅適用於文件名稱或其他內容相關的資訊。 |
![]() |
CatalogIconImageUrl | 取得或設定用來代表目錄中的 [網頁組件圖像的 URL。 (Overrides WebPart.CatalogIconImageUrl.) |
![]() |
ChildControlsCreated | (Inherited from Control.) |
![]() |
ChromeState | (Inherited from WebPart.) |
![]() |
ChromeType | (Inherited from WebPart.) |
![]() |
ClassResourcePath | 取得網頁組件類別資源的基底路徑。 |
![]() |
ClientID | (Inherited from Control.) |
![]() |
ClientIDMode | (Inherited from Control.) |
![]() |
ClientIDSeparator | (Inherited from Control.) |
![]() |
ClientName | 取得網頁組件中所使用的用戶端的網頁組件頁面服務元件 (WPSC) 的唯一名稱。 |
![]() |
ConnectErrorMessage | (Inherited from WebPart.) |
![]() |
ConnectionID | 取得或設定由內部使用的網頁組件基礎結構的網頁組件連線的唯一識別碼為 GUID。 |
![]() |
Connections | 取得或設定儲存連線的網頁組件的連線資訊。 |
![]() |
ContainerWidth | Obsolete. 取得值,來設定] 頁面上作者當做網頁組件的方式來提示寬以預期要包含的網頁組件區域。 |
![]() |
Context | (Inherited from Control.) |
![]() |
Controls | (Inherited from Part.) |
![]() |
ControlStyle | (Inherited from WebControl.) |
![]() |
ControlStyleCreated | (Inherited from WebControl.) |
![]() |
CssClass | (Inherited from WebControl.) |
![]() |
CssStyleSheet | 需要在此網頁組件] 頁面上註冊 CSS 檔案。如果此設定,CssRegistration.Register(filename) OnPreRender() 事件期間會呼叫此屬性中。若要註冊多個 Css 樣式表,請使用 CssRegistration.Register() |
![]() |
DataItemContainer | (Inherited from Control.) |
![]() |
DataKeysContainer | (Inherited from Control.) |
![]() |
DefaultButton | (Inherited from Panel.) |
![]() |
Description | 取得或設定當使用者將滑鼠指標停留在網頁組件頁面或組件庫中的網頁組件標題上時顯示的文字描述。 (Overrides WebPart.Description.) |
![]() |
DesignMode | (Inherited from Control.) |
![]() |
DetailLink | Obsolete. 取得或設定以 HTML 文件,內含補充資訊的 URL。 |
![]() |
Dir | Obsolete. 取得或設定網頁組件的文字方塊和框架的讀取順序的方向。將此值會覆寫指定System.Web.UI.Page.Culture屬性的值。 |
![]() |
Direction | (Inherited from WebPart.) |
![]() |
DisplayTitle | (Inherited from WebPart.) |
![]() |
EffectiveFrameType | Obsolete. 取得用來在執行階段轉譯的網頁組件圖文框的框架類型。 |
![]() |
EffectiveStorage | 取得是否執行個體傳回網頁組件會儲存為個人的執行個體或共用執行個體。 |
![]() |
EffectiveTitle | 取得標題指定網頁組件的執行個體,包括新增網頁組件基礎結構的任何去除混淆資訊。 |
![]() |
Enabled | (Inherited from WebControl.) |
![]() |
EnableTheming | (Inherited from WebControl.) |
![]() |
EnableViewState | (Inherited from Control.) |
![]() |
Events | (Inherited from Control.) |
![]() |
ExportControlledProperties | Obsolete. 取得或設定一個值,指出所網頁組件開發人員標示為控制屬性的網頁組件屬性是否可以有個人檢視中匯出其值。 |
![]() |
ExportMode | (Inherited from WebPart.) |
![]() |
Font | (Inherited from WebControl.) |
![]() |
ForeColor | (Inherited from WebControl.) |
![]() |
FrameState | Obsolete. 取得或設定網頁組件圖文框,可以是標準的初始狀態 (擴充) 或最小化。 |
![]() |
FrameType | Obsolete. 取得或設定網頁組件圖文框的樣式。 |
![]() |
GroupingText | (Inherited from Panel.) |
![]() |
HasAttributes | (Inherited from WebControl.) |
![]() |
HasChildViewState | (Inherited from Control.) |
![]() |
HasSharedData | (Inherited from WebPart.) |
![]() |
HasUserData | (Inherited from WebPart.) |
![]() |
Height | 取得或設定網頁組件網頁組件頁面上的固定的高度。 |
![]() |
HelpLink | Obsolete. 取得或設定為說明檔,以 HTML 格式的 URL 或檔案系統路徑。 |
![]() |
HelpMode | 取得或設定用來顯示 [說明] 內容網頁組件的使用者介面的類型。 (Overrides WebPart.HelpMode.) |
![]() |
HelpUrl | 取得或設定的說明連結。 (Overrides WebPart.HelpUrl.) |
![]() |
Hidden | 取得或設定一個值,指出是否在網頁上顯示 [網頁組件。 (Overrides WebPart.Hidden.) |
![]() |
HorizontalAlign | (Inherited from Panel.) |
![]() |
ID | 取得或設定網頁組件的識別碼。 (Overrides Control.ID.) |
![]() |
IdSeparator | (Inherited from Control.) |
![]() |
ImportErrorMessage | 若要使用匯入網頁組件時,發生錯誤時的錯誤訊息。 (Overrides WebPart.ImportErrorMessage.) |
![]() |
IsChildControlStateCleared | (Inherited from Control.) |
![]() |
IsClosed | (Inherited from WebPart.) |
![]() |
IsEnabled | (Inherited from WebControl.) |
![]() |
IsIncluded | Obsolete. 取得或設定一個值,指出是否應該包含由另一位使用者或管理員共用的網頁組件頁面的檢視中新增網頁組件] 頁面上的個人檢視中。 |
![]() |
IsIncludedFilter | Obsolete. 取得或設定由IRuntimeFilter介面,以決定網頁組件頁面上,將會包含網頁組件中的參數。 |
![]() |
IsShared | (Inherited from WebPart.) |
![]() |
IsStandalone | (Inherited from WebPart.) |
![]() |
IsStatic | (Inherited from WebPart.) |
![]() |
IsTrackingViewState | (Inherited from Control.) |
![]() |
IsViewStateEnabled | (Inherited from Control.) |
![]() |
IsVisible | Obsolete. 取得或設定是否會顯示 [網頁組件。 |
![]() |
LoadViewStateByID | (Inherited from Control.) |
![]() |
MissingAssembly | Obsolete. 取得或設定匯入網頁組件,如果目標伺服器上未安裝組件] 網頁組件時,對使用者顯示的訊息。 |
![]() |
NamingContainer | (Inherited from Control.) |
![]() |
OverflowAuto | 取得一個值,指出是否您可以覆寫預設設定的階層式樣式表 (CSS) overflow屬性轉譯網頁組件時。 |
![]() |
Page | (Inherited from Control.) |
![]() |
Parent | (Inherited from Control.) |
![]() |
PartImageLarge | Obsolete. 取得或設定一個包含 16 x 16 像素圖像,通常是用來描繪圖示的圖像檔的 URL。 |
![]() |
PartImageSmall | Obsolete. 取得或設定的網頁組件標題中出現之圖像檔的 URL。 |
![]() |
PartOrder | Obsolete. 取得或設定網頁組件區域中的 [網頁組件會出現的順序。 |
![]() |
Permissions | Obsolete. 取得目前可修改網頁組件的屬性。 |
![]() |
Qualifier | 網頁組件中取得的唯一識別碼。 |
![]() |
RenderingCompatibility | (Inherited from Control.) |
![]() |
SaveProperties | 取得或設定一個值,指出的網頁組件屬性是否已變更,以及是否應該保存結尾處的頁面轉譯。 |
![]() |
ScrollBars | (Inherited from Panel.) |
![]() |
SerializeAll | 取得是否應用於用戶端WPSC屬性集合中序列化擷取的屬性值。 |
![]() |
SerializedAttachedPropertiesShared | 支援SharePoint Foundation網頁組件連線基礎結構。不適合直接從您的程式碼內直接使用。 |
![]() |
SerializedAttachedPropertiesUser | 支援SharePoint Foundation網頁組件連線基礎結構。不適合直接從您的程式碼內直接使用。 |
![]() |
ServerRelativeClassResourcePath | 取得網頁組件類別資源的伺服器相對路徑。 |
![]() |
ShouldValidate | 取得一個值,指出網頁組件基礎結構應該要執行的網頁組件屬性的資料驗證,再將它們設定。 |
![]() |
Site | (Inherited from Control.) |
![]() |
SkinID | (Inherited from WebControl.) |
![]() |
StorageKey | 取得網頁組件新增至網頁組件區域時,會將網頁組件基礎結構來設定的唯一識別碼。 |
![]() |
Style | (Inherited from WebControl.) |
![]() |
Subtitle | 會傳回Caption屬性的值。 (Overrides WebPart.Subtitle.) |
![]() |
SupportsDisabledAttribute | (Inherited from Panel.) |
![]() |
SuppressWebPartChrome | 取得或設定是否 chrome 顯示靜態網頁組件。 |
![]() |
TabIndex | (Inherited from WebControl.) |
![]() |
TagKey | (Inherited from WebControl.) |
![]() |
TagName | (Inherited from WebControl.) |
![]() |
TemplateControl | (Inherited from Control.) |
![]() |
TemplateSourceDirectory | (Inherited from Control.) |
![]() |
Title | 取得或設定標題出現在網頁組件標題列中。 (Overrides WebPart.Title.) |
![]() |
TitleIconImageUrl | 取得或設定用來代表其本身的標題列中的 [網頁組件圖像的 URL。 (Overrides WebPart.TitleIconImageUrl.) |
![]() |
TitleUrl | 取得或設定標題連結。 (Overrides WebPart.TitleUrl.) |
![]() |
ToolTip | (Inherited from WebControl.) |
![]() |
UniqueID | (Inherited from Control.) |
![]() |
UnknownXmlElements | 取得UnknownXmlElementCollection物件,其中包含來自匯入的 SharePoint 網頁組件的 XML 元素未對應至 [網頁組件上的屬性。 |
![]() |
UseDefaultStyles | 取得或設定是否套用至網頁組件的預設字型的大小和樣式。 |
![]() |
Verbs | (Inherited from WebPart.) |
![]() |
ViewState | (Inherited from Control.) |
![]() |
ViewStateIgnoresCase | (Inherited from Control.) |
![]() |
ViewStateMode | (Inherited from Control.) |
![]() |
Visible | (Inherited from Control.) |
![]() |
WebBrowsableObject | (Inherited from WebPart.) |
![]() |
WebPartManager | (Inherited from WebPart.) |
![]() |
WebPartMenu | 取得或設定呈現的網頁組件] 功能表中來源的網頁組件圖文框中。 |
![]() |
Width | 取得或設定網頁組件的固定的寬度。 |
![]() |
WorkItemTimeout | Obsolete. 請注意:此屬性現在已經過時。 |
![]() |
Wrap | (Inherited from Panel.) |
![]() |
Zone | (Inherited from WebPart.) |
![]() |
ZoneID | 取得或設定用來呈現網頁組件中的網頁組件區域。 |
![]() |
ZoneIndex | (Inherited from WebPart.) |
Top
Methods
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
Fields
Name | Description | |
---|---|---|
![]() ![]() |
LimitOneConnection | 會指定可連接網頁組件可以接受不超過一個連線至其他網頁組件。 |
![]() ![]() |
UnlimitedConnections | 會指定可連接網頁組件可以接受另一個網頁組件的連線數目不受限制。 |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
![]() ![]() |
IAttributeAccessor.GetAttribute | IAttributeAccessor.GetAttribute |
![]() ![]() |
IAttributeAccessor.SetAttribute | IAttributeAccessor.SetAttribute |
![]() ![]() |
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.) |
![]() ![]() |
IConnectionData.GetData | |
![]() ![]() |
IConnectionData.GetRequiresData | |
![]() ![]() |
ICompositeControlDesignerAccessor.RecreateChildControls | (Inherited from Part.) |
![]() ![]() |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top