Share via


TitleBarWebPart.Image property

Gets or sets a link to the image to display for the icon in the Title Bar Web Part.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
Public Property Image As String
    Get
    Set
'Usage
Dim instance As TitleBarWebPart
Dim value As String

value = instance.Image

instance.Image = value
[WebPartStorageAttribute(Storage.Shared)]
public string Image { get; set; }

Property value

Type: System.String
String Link to the image to display for the icon in this Web Part. The default value is an empty string.

Remarks

The Image property is read/write.

See also

Reference

TitleBarWebPart class

TitleBarWebPart members

Microsoft.SharePoint.WebPartPages namespace