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)
Available in Sandboxed Solutions: No

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