MenuItem.

InputGesture Property

Summary

Gets or sets the input gesture that will be displayed in the menu item.
Namespace
Avalonia.Controls
Containing Type
MenuItem

Syntax

public KeyGesture InputGesture { get; set; }

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.

Value

Type Description
KeyGesture