Summary
Defines the interface for classes that handle access keys for a window.
- Namespace
- Avalonia
.Input - Implementing Types
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 |
void |
Registers an input element to be associated with an access key.
|
SetOwner |
void |
Sets the owner of the access key handler.
|
Unregister |
void |
Unregisters the access keys associated with the input element.
|