AutomationProperties.AcceleratorKeyProperty AutomationProperties.AcceleratorKeyProperty AutomationProperties.AcceleratorKeyProperty 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 DependencyProperty AcceleratorKeyProperty { get; }
static DependencyProperty AcceleratorKeyProperty();
public static DependencyProperty AcceleratorKeyProperty { get; }
Public Shared ReadOnly Property AcceleratorKeyProperty As DependencyProperty

Property Value

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.