Share via


RatingItemImageInfo.UnsetImage 属性

定义

获取或设置表示尚未设置的分级元素的图像。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

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

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

属性值

一个对象,表示所绘制图像的图像源文件。 通常,使用 BitmapImage 对象来设置此设置,该对象使用统一资源标识符 (URI) 构造,用于描述有效图像源文件的路径。 或者,可以使用流(可能是存储文件中的流)初始化 BitmapSource

适用于

另请参阅