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