BitmapIcon.UriSource Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.BitmapIcon.UriSource.

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

Uri Uri

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

Applies to

See also