Share via


PublishingButton.ImageUrl Property

Gets or sets the URL to the image that is used as an icon on this button.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property ImageUrl As String
    Get
    Set
'Usage
Dim instance As PublishingButton
Dim value As String

value = instance.ImageUrl

instance.ImageUrl = value
public string ImageUrl { get; set; }

Property Value

Type: System.String
String that represents the URL of the image that is shown when this button is displayed.

See Also

Reference

PublishingButton Class

PublishingButton Members

Microsoft.SharePoint.Publishing.WebControls Namespace

PublishingButton