Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EffectiveTitle property

WebPart.EffectiveTitle property

Gets the title of specified the Web Part instance, including any disambiguation information added by the Web Part infrastructure.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string EffectiveTitle { get; }

Property value

Type: System.String
A string containing the title of the Web Part including any disambiguation information, such as "WebPart [1]" and "WebPart [2]".

If two Web Parts on the same Web Part Page have the same title, the Web Part infrastructure appends a number after the title. For example, if two or more Web Parts that are named MyWebPart are added to a page, the Web Part infrastructure adds an incremented number in the following format: MyWebPart [1], MyWebPart [2], and so on. You can use the EffectiveTitle property to retrieve the title of a Web Part including this incremented number.

Show:
© 2015 Microsoft