Share via


AutomationProperties.AcceleratorKeyProperty Property

Definition

Identifies the AutomationProperties.AcceleratorKey attached property, which is a string containing the accelerator key (also called shortcut key) combinations for the automation element.

public:
 static property DependencyProperty ^ AcceleratorKeyProperty { DependencyProperty ^ get(); };
static DependencyProperty AcceleratorKeyProperty();
public static DependencyProperty AcceleratorKeyProperty { get; }
var dependencyProperty = AutomationProperties.acceleratorKeyProperty;
Public Shared ReadOnly Property AcceleratorKeyProperty As DependencyProperty

Property Value

The identifier for the AutomationProperties.AcceleratorKey attached property.

Remarks

Shortcut key combinations invoke an action. For example, CTRL+O is often used to invoke the Open file common dialog box. An automation element that has the AcceleratorKey property can implement the Invoke control pattern for the action that is equivalent to the shortcut command.

Applies to