Share via


AssetUrlSelector.OverrideDialogImageUrl property

Gets or sets the URL to the image that appears at the top of the Asset Picker dialog box.

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

Syntax

'Declaration
Public Property OverrideDialogImageUrl As String
    Get
    Set
'Usage
Dim instance As AssetUrlSelector
Dim value As String

value = instance.OverrideDialogImageUrl

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

Property value

Type: System.String
Defaults to an empty string.
The URL to the image that appears at the top of the Asset Picker dialog box.

Remarks

If no value is set in this property then a default image is used, depending on the value of the UseImageAssetPicker property.

Examples

    // Set values for the appearance and behavior of the Asset Picker dialog box.assetSelector.OverrideDialogImageUrl = SampleOverrideDialogImageUrl;
' Set values for the appearance and behavior of the Asset Picker dialog box.
assetSelector.OverrideDialogImageUrl = SampleOverrideDialogImageUrl

See also

Reference

AssetUrlSelector class

AssetUrlSelector members

Microsoft.SharePoint.Publishing.WebControls namespace

UseImageAssetPicker

AssetUrlSelector