RibbonToolTip.ImageSource 属性

获取或设置为与该工具提示相关的控件显示的图像。

命名空间:  Microsoft.Windows.Controls.Ribbon
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public Property ImageSource As ImageSource
    Get
    Set
public ImageSource ImageSource { get; set; }
public:
property ImageSource^ ImageSource {
    ImageSource^ get ();
    void set (ImageSource^ value);
}
member ImageSource : ImageSource with get, set
function get ImageSource () : ImageSource
function set ImageSource (value : ImageSource)

属性值

类型:System.Windows.Media.ImageSource
要在工具提示中显示的图像。注册的默认值为 nullnull 引用(在 Visual Basic 中为 Nothing)。有关可以影响值的因素的更多信息,请参见 依赖项属性值优先级

依赖项属性信息

标识符字段

ImageSourceProperty

设置为 true 的元数据属性

.NET Framework 安全性

请参见

参考

RibbonToolTip 类

Microsoft.Windows.Controls.Ribbon 命名空间