GetKeyTip Method

KeyTipService::GetKeyTip Method (DependencyObject^)

.NET Framework (current version)
 

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.

Exception Condition
ArgumentNullException

The specified element is null.

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