Freigeben über


UriSource (BitmapImage)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the Uniform Resource Identifier (URI) for the source image file location.

<BitmapImage UriSource="string"  .../>
value = object.UriSource
object.UriSource = value

Property Value

Type: string

The source of the drawn image as a URI.

This property is read/write. The default value is null.

Managed Equivalent

UriSource

Remarks

The URISource property can be used to reference images in the JPEG and PNG file formats.

Applies To

BitmapImage

Version Information

Silverlight 2