Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetKeyTip Method

KeyTipService.GetKeyTip Method

.NET Framework 4.6 and 4.5

Returns the value of the KeyTip attached property for the specified element.

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

public static string GetKeyTip(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject

The object from which the property value is read.

Return Value

Type: System.String
The object’s KeyTip property value.

ExceptionCondition
ArgumentNullException

The specified element is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft