Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationProperties.AcceleratorKeyProperty Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?