Megosztás a következőn keresztül:


BitmapIcon.UriSource Property

Definition

Gets or sets the Uniform Resource Identifier (URI) of the bitmap to use as the icon content.

public:
 property Uri ^ UriSource { Uri ^ get(); void set(Uri ^ value); };
Uri UriSource();

void UriSource(Uri value);
public System.Uri UriSource { get; set; }
var uri = bitmapIcon.uriSource;
bitmapIcon.uriSource = uri;
Public Property UriSource As Uri
<BitmapIcon UriSource="uriString"/>

Property Value

The Uri of the bitmap to use as the icon content. The default is null.

Applies to

See also