Dela via


KeyboardAcceleratorInvokedEventArgs Class

Definition

Provides event data for the Invoked event.

public ref class KeyboardAcceleratorInvokedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KeyboardAcceleratorInvokedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class KeyboardAcceleratorInvokedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class KeyboardAcceleratorInvokedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class KeyboardAcceleratorInvokedEventArgs
Public NotInheritable Class KeyboardAcceleratorInvokedEventArgs
Inheritance
Object Platform::Object IInspectable KeyboardAcceleratorInvokedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Version history

Windows version SDK version Value added
1803 17134 KeyboardAccelerator

Properties

Element

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

Handled

Gets or sets a value that marks the event as handled.

KeyboardAccelerator

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

Applies to

See also