MenuItemAccessKeyHandler Class

Summary

Handles access keys within a MenuItem
Namespace
Avalonia.Controls
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IAccessKeyHandler"]-.->Type click Interface0 "/api/Avalonia.Input/IAccessKeyHandler" Type["MenuItemAccessKeyHandler"] class Type type-node

Syntax

public class MenuItemAccessKeyHandler : IAccessKeyHandler

Properties

Name Value Summary
MainMenu IMainMenu
Gets or sets the window's main menu.

Methods

Name Value Summary
OnTextInput(object, TextInputEventArgs) void
Handles a key being pressed in the menu.
Register(char, IInputElement) void
Registers an input element to be associated with an access key.
SetOwner(IInputRoot) void
Sets the owner of the access key handler.
Unregister(IInputElement) void
Unregisters the access keys associated with the input element.