Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

KeyTipService.SetKeyTip Method

.NET Framework 4.6 and 4.5

Sets 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 void SetKeyTip(
	DependencyObject element,
	string value
)

Parameters

element
Type: System.Windows.DependencyObject

The object to which the attached property is written.

value
Type: System.String

The value to set.

ExceptionCondition
ArgumentNullException

The specified element is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft