Share via


RatingItemImageInfo.Image Property

Definition

Gets or sets an image that represents a rating element that has been set by the user.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void Image(ImageSource value);
public ImageSource Image { get; set; }
Public Property Image As ImageSource
<RatingItemImageInfo Image="uri"/>

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.

Applies to