Export (0) Print
Expand All

AutomationProperties.SetAcceleratorKey Method

Sets the AcceleratorKey attached property for the specified DependencyObject.

Namespace:  System.Windows.Automation
Assembly:  PresentationCore (in PresentationCore.dll)

public static void SetAcceleratorKey(
	DependencyObject element,
	string value
)

Parameters

element
Type: System.Windows.DependencyObject

The DependencyObject on which to set the property.

value
Type: System.String

The accelerator key value to set.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft