RibbonSplitMenuItem.HeaderKeyTip 属性

获取或设置该控件页眉区的键盘快捷键。

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

语法

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

属性值

类型:System.String
该控件标题区域的键盘快捷键。注册的默认值为 nullnull 引用(在 Visual Basic 中为 Nothing)。有关可以影响值的因素的更多信息,请参见 依赖项属性值优先级

依赖项属性信息

标识符字段

HeaderKeyTipProperty

设置为 true 的元数据属性

备注

KeyTip 必须包含 1 到 3 个大写字符,不能包含空格、制表符或换行符。

KeyTip 有时称为访问键或快捷键,用作激活控件的快捷组合键。 按下 Alt 键时,KeyTip 显示在 Ribbon 上。

.NET Framework 安全性

请参见

参考

RibbonSplitMenuItem 类

Microsoft.Windows.Controls.Ribbon 命名空间