Skip to main content

DefaultMenuInteractionHandler Class

Unstable.

Note: This API is unstable and may change in a future release.

Provides the default keyboard and pointer interaction for menus.

Definition

Namespace: Avalonia.Controls.Platform
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

[UnstableAttribute]
public class DefaultMenuInteractionHandler : IMenuInteractionHandler
View Source
InheritanceObject → DefaultMenuInteractionHandler
ImplementsIMenuInteractionHandler

Constructors

DefaultMenuInteractionHandler(Boolean)Initializes a new instance of the DefaultMenuInteractionHandler class
DefaultMenuInteractionHandler(Boolean, IInputManager, Action(Action, TimeSpan))Initializes a new instance of the DefaultMenuInteractionHandler class

Properties

DelayRun 
InputManager 
MenuShowDelay 

Methods

AccessKeyPressed(Object, RoutedEventArgs) 
Attach(MenuBase) 
Detach(MenuBase) 
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
GotFocus(Object, GotFocusEventArgs) 
KeyDown(Object, KeyEventArgs) 
LostFocus(Object, RoutedEventArgs) 
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
MenuOpened(Object, RoutedEventArgs) 
PointerEntered(Object, RoutedEventArgs) 
PointerExited(Object, RoutedEventArgs) 
PointerMoved(Object, PointerEventArgs) 
PointerPressed(Object, PointerPressedEventArgs) 
PointerReleased(Object, PointerReleasedEventArgs) 
RawInput(RawInputEventArgs) 
RootPointerPressed(Object, PointerPressedEventArgs) 
ToString()Returns a string that represents the current object.
(Inherited from Object)
WindowDeactivated(Object, EventArgs) 

See Also

Reference

Avalonia.Controls.Platform Namespace