Skip to main content

InputGesture Property

Gets or sets the input gesture that will be displayed in the menu item.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public KeyGesture? InputGesture { get; set; }

Property Value

KeyGesture

Remarks

Setting this property does not cause the input gesture to be handled by the menu item, it simply displays the gesture text in the menu.

See Also

Reference

MenuItem Class
Avalonia.Controls Namespace