PersonPicture.BadgeImageSource Property

Definition

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

public:
 property ImageSource ^ BadgeImageSource { ImageSource ^ get(); void set(ImageSource ^ value); };
ImageSource BadgeImageSource();

void BadgeImageSource(ImageSource value);
public ImageSource BadgeImageSource { get; set; }
var imageSource = personPicture.badgeImageSource;
personPicture.badgeImageSource = imageSource;
Public Property BadgeImageSource As ImageSource
<PersonPicture BadgeImageSource="uri"/>

Property Value

ImageSource

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.

Applies to