Share via


KeyboardAcceleratorInvokedEventArgs.Element Property

Definition

Gets the object associated with the keyboard shortcut (or accelerator).

public:
 property DependencyObject ^ Element { DependencyObject ^ get(); };
DependencyObject Element();
public DependencyObject Element { get; }
var dependencyObject = keyboardAcceleratorInvokedEventArgs.element;
Public ReadOnly Property Element As DependencyObject

Property Value

A reference to the object associated with the keyboard shortcut (or accelerator).

Applies to

See also