Summary
Handles access keys for a window.
- Namespace
- Avalonia
.Input - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IAccessKeyHandler"]
click Interface0 "/api/Avalonia.Input/IAccessKeyHandler"
Type["AccessKeyHandler"]
class Type type-node
Syntax
public class AccessKeyHandler : IAccessKeyHandler
Fields
Name | Constant Value | Summary |
---|---|---|
Access |
Defines the AccessKeyPressed attached event.
static
|
Properties
Name | Value | Summary |
---|---|---|
MainMenu | IMainMenu? |
Gets or sets the window's main menu.
|
Methods
Name | Value | Summary |
---|---|---|
OnKeyDown |
void |
Called when a key is pressed in the owner window.
|
OnPreviewKeyDown |
void |
Called when a key is pressed in the owner window.
|
OnPreviewKeyUp |
void |
Handles the Alt/F10 keys being released in the window.
|
On |
void |
Handles pointer presses in the window.
|
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.
|