Share via


XamlUICommand.KeyboardAccelerators Property

Definition

Gets or sets the collection of key combinations for this element that invoke an action using the keyboard.

public:
 property IVector<KeyboardAccelerator ^> ^ KeyboardAccelerators { IVector<KeyboardAccelerator ^> ^ get(); };
IVector<KeyboardAccelerator> KeyboardAccelerators();
public IList<KeyboardAccelerator> KeyboardAccelerators { get; }
var iVector = xamlUICommand.keyboardAccelerators;
Public ReadOnly Property KeyboardAccelerators As IList(Of KeyboardAccelerator)

Property Value

The keyboard accelerators for this element.

Remarks

Accelerators are typically assigned to buttons or menu items.

Applies to

See also