KeyTip Property

RibbonMenuItem.KeyTip Property

.NET Framework 4.6 and 4.5

Gets or sets the keyboard shortcut for the control.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public string KeyTip { get; set; }

Property Value

Type: System.String

The keyboard shortcut for the control. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

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.

Identifier field


Metadata properties set to true


.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft