IMenuInteractionHandler Interface
Definition
Handles user interaction for menus.
public interface IMenuInteractionHandler
Methods
| Name | Description |
|---|---|
| Attach | Attaches the interaction handler to a menu. |
| Detach | Detaches the interaction handler from the attached menu. |
Attach Method
Attaches the interaction handler to a menu.
public void Attach(Avalonia.Controls.MenuBase menu)
Parameters
menu Avalonia.Controls.MenuBase
The menu.
Detach Method
Detaches the interaction handler from the attached menu.
public void Detach(Avalonia.Controls.MenuBase menu)