KeyTipService.GetKeyTip(DependencyObject) Method

Definition

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

public:
 static System::String ^ GetKeyTip(System::Windows::DependencyObject ^ element);
public static string GetKeyTip (System.Windows.DependencyObject element);
static member GetKeyTip : System.Windows.DependencyObject -> string
Public Shared Function GetKeyTip (element As DependencyObject) As String

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

The object's KeyTip property value.

Exceptions

The specified element is null.

Applies to