获取或设置针对此控件显示在工具提示脚注中的图像。
命名空间: Microsoft.Windows.Controls.Ribbon
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public Property ToolTipFooterImageSource As ImageSource
Get
Set
public ImageSource ToolTipFooterImageSource { get; set; }
public:
property ImageSource^ ToolTipFooterImageSource {
ImageSource^ get ();
void set (ImageSource^ value);
}
member ToolTipFooterImageSource : ImageSource with get, set
function get ToolTipFooterImageSource () : ImageSource
function set ToolTipFooterImageSource (value : ImageSource)
属性值
类型:System.Windows.Media.ImageSource
要在工具提示的脚注中显示的图像。注册的默认值为 nullnull 引用(在 Visual Basic 中为 Nothing)。有关可以影响值的因素的更多信息,请参见 依赖项属性值优先级。
依赖项属性信息
标识符字段 |
|
设置为 true 的元数据属性 |
无 |
备注
![]() |
---|
每个功能区控件均继承 FrameworkElement.ToolTip 属性。如果设置了 FrameworkElement.ToolTip 属性,则不会显示功能区的增强工具提示;而将显示标准工具提示。 |
示例
以下示例显示用于创建增强工具提示的标记。
增强的工具提示
<ribbon:RibbonToggleButton Label="Ribbon Control"
SmallImageSource="Images/Lightbulb16.png"
LargeImageSource="Images/Lightbulb32.png"
KeyTip="N"
ToolTipTitle="Command Name (Ctrl+N)"
ToolTipDescription="All ribbon commands should have enhanced tooltips to give the command name, shortcut key, description, and optional supplemental information."
ToolTipImageSource="Images/Suggestion32.png"
ToolTipFooterTitle="Press F1 for Help"
ToolTipFooterDescription="When practical, completely describe the command using a concise description. Link to Help only if further explanation is really necessary."
ToolTipFooterImageSource="Images/Help16.png" />
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。