Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.CatalogIconImageUrl property

Gets or sets the URL to an image used to represent the Web Part in a catalog.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[WebPartStorageAttribute(Storage.None)]
public override string CatalogIconImageUrl { get; set; }

Property value

Type: System.String
A string containing a URL. The default value is String.Empty.

Implements

IWebPart.CatalogIconImageUrl

The CatalogIconImageUrl property provides a way to associate a small image with a Web Part control’s entry in a catalog such as the Add Web Parts dialog. For thematic consistency, application developers often make this icon similar to the image that represents the control in the Web Part’s own title bar (the image referenced in the TitleIconImageUrl property).

You can set a value for the property programmatically in the code for the control or declaratively in the markup of a Web Part control description file (.webpart).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.