Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

KeyTipService.SetKeyTip Method (DependencyObject, String)

.NET Framework (current version)
 

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.

Exception Condition
ArgumentNullException

The specified element is null.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft