Skip to content

Latest commit

 

History

History
51 lines (22 loc) · 1.2 KB

personpicture_badgeimagesource.md

File metadata and controls

51 lines (22 loc) · 1.2 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.PersonPicture.BadgeImageSource
winrt property

Microsoft.UI.Xaml.Controls.PersonPicture.BadgeImageSource

-description

Gets or sets the source of an image to display on the badge.

-property-value

An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage object, constructed with the Uniform Resource Identifier (URI) that describes the path to a valid image source file. Or, you can initialize a BitmapSource with a stream, perhaps a stream from a storage file.

-remarks

-see-also

-examples

-xaml-syntax

<PersonPicture BadgeImageSource="uri"/>

-xaml-values

uri
uriThe location of the image source file. In XAML syntax, you can specify what appears to be a relative that is relative to a base . The base is interpreted based on the location of the XAML file that loads it, and uses the ms-appx: scheme implicitly. For more info see Image.Source.