![]() | |||||
![]() ![]() ![]() ![]() ![]() |
All Web Parts share a common set of properties that control their appearance, layout, and advanced characteristics. The common Web Part properties are listed below with their corresponding base class property name in parentheses.
About viewing the common properties
in the tool pane
This topic describes all the common Web Part properties. However, the common Web Part properties you see in the tool pane may be different than what is documented in this topic for several reasons:
Specifies the title of the Web Part displayed in the Web Part title bar.
Type
a string in the text box. To make it easier to edit a long string, click Text Builder .
Specifies the height of the Web Part.
Do one of the following:
Specifies the width of the Web Part.
Do one of the following:
To automatically adjust the width of the Web Part in the zone, select No. This is the default.
Specifies the initial state of the Web Part frame.
Do one of the following:
Specifies the style of the Web Part frame.
Do one of the following:
Specifies whether the Web Part is displayed or hidden when browsing the Web Part Page. The Web Part is still visible when you are designing the page and has the suffix (hidden) appended to the title.
You might make a Web Part hidden if you want to use it to provide data to another Web Part through a Web Part connection, but don't need to display the Web Part.
Do one of the following:
Specifies the direction of the text in the Web Part content. For example, Arabic and Hebrew are right-to-left languages; English and most other European languages are left-to-right languages.
Do one of the following:
Specifies the zone on the Web Part Page where the Web Part is located.
To choose a zone, select a zone name from the list.
Note Zones on the Web Part Page are not listed in the list box when you do not have permission to modify the zone.
Specifies the position of the Web Part in a zone when the zone contains more than one Web Part.
To specify the order, type a positive integer in the text box.
A value of 1 means the Web Part is placed at the top of the zone, if the Web Parts in the zone stack from top to bottom, or to the left of the zone, if the Web Parts in the zone stack from left to right.
For example, when you add a Web Part to an empty zone that stacks from top to bottom, the Part Order is 1. When you add a second Web Part to the bottom of the zone, its Part Order is 2. To move the second Web Part to the top of the zone, type 1, and then type 2 for the first Web Part .
Note Each Web Part in the zone must have a unique Part Order number. Therefore, changing the Part Order value for the current Web Part can also change the Part Order value for other Web Parts in the zone.
Allow Minimize (AllowMinimize)
Specifies whether or not the Web Part can be minimized.
Do one of the following:
Specifies whether or not the Web Part can be removed from the Web Part Page.
Do one of the following:
Allow Zone Change
(AllowZoneChange)
Specifies whether or not the Web Part can be moved to a different zone.
Do one of the following:
Allow Export
Sensitive Properties
(ExportSensitiveProperties)
Controls whether a user can export to a Web Part description file (.dwp) the values of one or more specific properties when making changes to a Web Part Page in personal view. This property also controls whether a Web Part property can be accessed by the Web Part Services Component (WPSC) that runs on the client computer or used in the default web service.
The ExportControlledProperties property is useful for preventing the viewing and distribution of one or more property values that may contain sensitive information, such as a social security number, a credit card number, or a connection string.
To enable the ExportControlledProperties property, the developer of the Web Part must mark the specific Web Part properties with the ControlledExport attribute by setting the attribute value to True.
After the Web Part is installed at a site and uploaded to a Web Part gallery, the ExportControlledProperties property of the Web Part is False by default, which means one or more of the Web Part's properties marked as sensitive by the ControlledExport attribute cannot be exported in personal view, accessed through the WPSC, and used in the default web service. However, a site administrator or user with permission can still set the ExportControlledProperties property to True, if desired or necessary. For more information about how to use this property, see the Windows SharePoint Services Software Development Kit.
Do one of the following:
Specifies the URL of a file containing additional information about the Web Part. The file is displayed in a separate browser window when you click the Web Part title.
Type
a file path or hyperlink in the text box. To make it easier to edit a long string, click Text Builder .
Specifies the ScreenTip that appears when you rest the mouse pointer on the Web Part title or Web Part icon. When you search for Web Parts by using the Search command on the Find Web Parts menu of the tool pane, the value of this property is used when searching the following Web Part galleries: Site, Virtual Server, and Web Part Page.
Type
a string in the text box. To make it easier to edit a long string, click Text Builder .
Specifies the location of a file containing help information about the Web Part. The help information is displayed in a separate browser window when you click the Help command on the Web Part menu.
Type
a file path or hyperlink in the text box. To make it easier to edit a long string, click Text Builder .
Icon File
(Large) (PartImageLarge)
Specifies the location of a file containing a large Web Part icon. The image size must be 16 by 16 pixels.
Type
a file path or hyperlink in the text box. To make it easier to edit a long string, click Text Builder .
Icon File (Small)
(PartImageSmall)
Caution This property is reserved for future use by Microsoft, and the value is not saved if you enter it in the tool pane.
Missing Assembly Error
(MissingAssembly)
Specifies a message that appears if the Web Part assembly file is missing or incorrect.
Type
a string in the text box. To make it easier to edit a long string, click Text Builder .
Is
Included Filter (IsIncludedFilter)
Note The name of this property in the tool pane can be customized by a site administrator or Web Part developer and may be different than the name "Is Included Filter."
Specifies a query string with criteria defined by a developer or site administrator to determine whether or not to display the Web Part. This property is used by developers who want to customize Microsoft Windows SharePoint Services to target the display of Web Parts for certain groups of people. This property is not displayed in the tool pane if it is not used, and it is always the last property displayed in the Advanced section of the tool pane. For more information about how to use this property, see the Windows SharePoint Services Software Development Kit
Type
a string in the text box. To make it easier to edit a long string, click Text Builder .