Export (0) Print
Expand All
Expand Minimize

WebPart Properties

The WebPart type exposes the following members.

  Name Description
Public property AccessKey (Inherited from WebControl.)
Protected property Adapter (Inherited from Control.)
Public property AllowClose (Inherited from WebPart.)
Public property AllowConnect Gets or sets a value that indicates whether the WebPart control allows other controls to form connections with it. (Overrides WebPart.AllowConnect.)
Public property AllowEdit Gets or sets a value indicating whether an end user can modify a WebPart control in personal view. (Overrides WebPart.AllowEdit.)
Public property AllowHide Gets or sets a value indicating whether end users are allowed to hide a WebPart control. (Overrides WebPart.AllowHide.)
Public property AllowMinimize Gets or sets whether the Web Part can be minimized. (Overrides WebPart.AllowMinimize.)
Public property AllowRemove Obsolete. Gets or sets whether the Web Part can be removed from a Web Part Page by controlling whether the IsIncluded property can be set to false.
Public property AllowZoneChange Gets or sets whether the Web Part can be moved to a different zone by controlling whether the ZoneID property can be changed. (Overrides WebPart.AllowZoneChange.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from WebControl.)
Public property AuthorizationFilter Gets or sets an arbitrary string to determine whether a Web Part is authorized to be added to a page. (Overrides WebPart.AuthorizationFilter.)
Public property BackColor (Inherited from WebControl.)
Public property BackImageUrl (Inherited from Panel.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebControl.)
Public property BorderStyle (Inherited from WebControl.)
Public property BorderWidth (Inherited from WebControl.)
Public property BrowserDesignMode Obsolete. Gets whether a Web Part is in design mode (modifying its layout or properties) in the Web browser.
Protected property CacheType Determines the type of caching being used by the Web server.
Public property Caption Obsolete. Gets or sets a string that is added following the title in the title bar of the Web Part. This property is intended for document names or other context-specific information.
Public property CatalogIconImageUrl Gets or sets the URL to an image used to represent the Web Part in a catalog. (Overrides WebPart.CatalogIconImageUrl.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ChromeState (Inherited from WebPart.)
Public property ChromeType (Inherited from WebPart.)
Protected property ClassResourcePath Gets the base path to Web Part class resources.
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property ClientName Gets the unique name of the Web Part used by the client-side Web Part Page Service Component (WPSC).
Public property ConnectErrorMessage (Inherited from WebPart.)
Public property ConnectionID Gets or sets the GUID that is used internally by the Web Part infrastructure as the unique identifier of a Web Part connection.
Public property Connections Gets or sets the connection information that is stored with a connected Web Part.
Protected property ContainerWidth Obsolete. Gets the value set by the page author as a hint to the Web Part of how wide to expect the containing Web Part zone to be.
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Part.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Public property CssStyleSheet
Public property DefaultButton (Inherited from Panel.)
Public property Description Gets or sets a text description that appears when the user rests the mouse pointer on the title of a Web Part in a Web Part Page or gallery. (Overrides WebPart.Description.)
Protected property DesignMode (Inherited from Control.)
Public property DetailLink Obsolete. Gets or sets a URL to an HTML document that contains supplemental information.
Public property Dir Obsolete. Gets or sets the direction of the reading order for a Web Part's text and frame. Setting this value overrides the value specified for the System.Web.UI.Page.Culture property.
Public property Direction (Inherited from WebPart.)
Public property DisplayTitle (Inherited from WebPart.)
Public property EffectiveFrameType Obsolete. Gets the frame type that is used to render the Web Part frame at run time.
Public property EffectiveStorage Gets whether the instance of the Web Part returned is stored as personal instance or shared instance.
Public property EffectiveTitle Gets the title of specified the Web Part instance, including any disambiguation information added by the Web Part infrastructure.
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property ExportControlledProperties Obsolete. Gets or sets a value indicating whether a Web Part’s properties that are flagged as controlled properties by the Web Part developer can have their values exported in personal view.
Public property ExportMode (Inherited from WebPart.)
Public property Font (Inherited from WebControl.)
Public property ForeColor (Inherited from WebControl.)
Public property FrameState Obsolete. Gets or sets the initial state of the Web Part frame, which can be normal (expanded) or minimized.
Public property FrameType Obsolete. Gets or sets the style of the Web Part frame.
Public property GroupingText (Inherited from Panel.)
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property HasSharedData (Inherited from WebPart.)
Public property HasUserData (Inherited from WebPart.)
Public property Height Gets or sets the fixed height for a Web Part on a Web Part Page.
Public property HelpLink Obsolete. Gets or sets a URL or file system path to a help file in HTML format.
Public property HelpMode Gets or sets the type of user interface used to display Help content for a Web Part. (Overrides WebPart.HelpMode.)
Public property HelpUrl Gets or sets a Help link. (Overrides WebPart.HelpUrl.)
Public property Hidden Gets or sets a value indicating whether the Web Part is displayed on a Web page. (Overrides WebPart.Hidden.)
Public property HorizontalAlign (Inherited from Panel.)
Public property ID Gets or sets an identifier for the Web Part. (Overrides Control.ID.)
Protected property IdSeparator (Inherited from Control.)
Public property ImportErrorMessage (Overrides WebPart.ImportErrorMessage.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Public property IsClosed (Inherited from WebPart.)
Protected property IsEnabled (Inherited from WebControl.)
Public property IsIncluded Obsolete. Gets or sets a value indicating whether a Web Part that is added by another user or the administrator in the shared view of a Web Part page should be included in a personal view of the page.
Public property IsIncludedFilter Obsolete. Gets or sets the parameters used by the IRuntimeFilter interface to determine if the Web Part will be included on the Web Part Page.
Public property IsShared (Inherited from WebPart.)
Public property IsStandalone (Inherited from WebPart.)
Public property IsStatic (Inherited from WebPart.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property IsVisible Obsolete. Gets or sets whether the Web Part is visible.
Protected property LoadViewStateByID (Inherited from Control.)
Public property MissingAssembly Obsolete. Gets or sets the message shown to the user when importing a Web Part if the assembly for the Web Part is not installed on the target server.
Public property NamingContainer (Inherited from Control.)
Protected property OverflowAuto Gets a value indicating whether you can override the default setting for the cascading style sheet (CSS) overflow attribute when rendering the Web Part.
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PartImageLarge Obsolete. Gets or sets the URL of an image file containing a 16 x 16 pixel image, typically used to depict icons.
Public property PartImageSmall Obsolete. Gets or sets the URL of an image file that appears in the title of a Web Part.
Public property PartOrder Obsolete. Gets or sets the order in which the Web Part appears within a Web Part zone.
Public property Permissions Obsolete. Gets the properties of a Web Part that can be modified currently.
Public property Qualifier Gets a unique identifier for a Web Part.
Protected property SaveProperties Gets or sets a value that indicates whether the properties of a Web Part have changed and should be persisted at the end of page rendering.
Public property ScrollBars (Inherited from Panel.)
Protected property SerializeAll Gets whether a retrieved property value should be serialized for use in the client-side WPSC property collection.
Public property SerializedAttachedPropertiesShared Supports the SharePoint Foundation Web Part connection infrastructure. Not intended to be used directly from your code.
Public property SerializedAttachedPropertiesUser Supports the SharePoint Foundation Web Part connection infrastructure. Not intended to be used directly from your code.
Protected property ServerRelativeClassResourcePath Gets the server-relative path to Web Part class resources.
Protected property ShouldValidate Gets a value indicating whether the Web Part infrastructure should perform data validation of Web Part properties before setting them.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property StorageKey Gets the unique identifier that is set by the Web Part infrastructure when a Web Part is added to a Web Part Zone.
Public property Style (Inherited from WebControl.)
Public property Subtitle Returns the value of the Caption property. (Overrides WebPart.Subtitle.)
Public property SuppressWebPartChrome Gets or sets whether chrome is displayed for a static Web Part.
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from WebControl.)
Protected property TagName (Inherited from WebControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property Title Gets or sets the title that appears in the title bar of a Web Part. (Overrides WebPart.Title.)
Public property TitleIconImageUrl Gets or sets the URL to an image used to represent the Web Part in its own title bar. (Overrides WebPart.TitleIconImageUrl.)
Public property TitleUrl Get or sets a title link. (Overrides WebPart.TitleUrl.)
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Public property UnknownXmlElements Gets an UnknownXmlElementCollection object that contains XML elements from an imported SharePoint Web Part that were not mapped to a property on the Web Part.
Public property UseDefaultStyles Gets or sets whether the default font size and style are applied to the Web Part.
Public property Verbs (Inherited from WebPart.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property WebBrowsableObject (Inherited from WebPart.)
Protected property WebPartManager (Inherited from WebPart.)
Protected property WebPartMenu Gets or sets the Web Part menu source that is rendered in the frame of the Web Part.
Public property Width Gets or sets the fixed width for a Web Part.
Protected property WorkItemTimeout Obsolete.
Public property Wrap (Inherited from Panel.)
Public property Zone (Inherited from WebPart.)
Public property ZoneID Gets or sets the Web Part zone in which to render the Web Part.
Public property ZoneIndex (Inherited from WebPart.)
Top
Show:
© 2015 Microsoft