Bearbeiten

Freigeben über


AutomationProperties.GetAcceleratorKey(DependencyObject) Method

Definition

Gets the AcceleratorKey attached property for the specified DependencyObject.

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

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

A string that contains the accelerator key.

Applies to

See also