IAccessKeyHandler Interface

Summary

Defines the interface for classes that handle access keys for a window.
graph BT Type["IAccessKeyHandler"] class Type type-node Implementing0["MenuItemAccessKeyHandler"]-.->Type click Implementing0 "/api/Avalonia.Controls/MenuItemAccessKeyHandler" Implementing1["AccessKeyHandler"]-.->Type click Implementing1 "/api/Avalonia.Input/AccessKeyHandler"

Syntax

public interface IAccessKeyHandler

Properties

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

Methods

Name Value Summary
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.