Dela via


RibbonSplitMenuItem.HeaderKeyTip Property

Gets or sets the keyboard shortcut for the header area of this control.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property HeaderKeyTip As String
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)

Property Value

Type: System.String
The keyboard shortcut for the header area of this control. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

HeaderKeyTipProperty

Metadata properties set to true

None

Remarks

A KeyTip must be from 1 to 3 uppercase characters, and must not contain spaces, tabs, or newline characters.

KeyTips are sometimes known as access keys or accelerators and are used as shortcut key combinations that activate controls. KeyTips appear on the Ribbon when you press the ALT key.

.NET Framework Security

See Also

Reference

RibbonSplitMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace