RibbonCheckBox.ToolTipFooterDescription 属性

获取或设置针对此控件显示在工具提示脚注中的说明性文本。

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

语法

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

属性值

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

依赖项属性信息

标识符字段

ToolTipFooterDescriptionProperty

设置为 true 的元数据属性

备注

警告说明警告

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

示例

以下示例显示用于创建增强工具提示的标记。

增强的工具提示

增强的工具提示功能

<ribbon:RibbonCheckBox 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 安全性

请参见

参考

RibbonCheckBox 类

Microsoft.Windows.Controls.Ribbon 命名空间

RibbonToolTip