RibbonGalleryItem.ToolTipImageSource 属性

定义

获取或设置针对此控件显示在工具提示中的图像。

public:
 property System::Windows::Media::ImageSource ^ ToolTipImageSource { System::Windows::Media::ImageSource ^ get(); void set(System::Windows::Media::ImageSource ^ value); };
public System.Windows.Media.ImageSource ToolTipImageSource { get; set; }
member this.ToolTipImageSource : System.Windows.Media.ImageSource with get, set
Public Property ToolTipImageSource As ImageSource

属性值

要在工具提示中显示的图像。 已注册的默认值为 null。 有关什么可以影响值的详细信息,请参阅 Dependency Property Value Precedence(依赖项属性值优先级)

注解

警告

每个功能区控件都继承一个 FrameworkElement.ToolTip 属性。 FrameworkElement.ToolTip如果设置了 属性,则不会显示功能区增强的工具提示;将改为显示标准工具提示。

依赖项属性信息

标识符字段 ToolTipImageSourceProperty
元数据属性设置为 true

适用于

另请参阅