Skip to main content

Gesture 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? Gesture { 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​

NativeMenuItem Class
Avalonia.Controls Namespace