Version

SetKeyTip Method

Sets the string with a maximum length of 3 characters that is used when navigating the XamRibbon when using keytips.
Syntax
'Declaration
 
Public Shared Sub SetKeyTip( _
   ByVal d As DependencyObject, _
   ByVal value As String _
) 
public static void SetKeyTip( 
   DependencyObject d,
   string value
)

Parameters

d
value
Exceptions
ExceptionDescription
System.ArgumentExceptionThe value assigned has more than 3 characters.
Remarks

Key tips are displayed when the ribbon is showing and the Alt key is pressed.


Note:
If the key tip for the item conflicts with another item in the same container, this key tip may be changed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also