Skip to main content

ContextRequestedEventArgs Class

Provides event data for the ContextRequested event.

Definition

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

public class ContextRequestedEventArgs : RoutedEventArgs
View Source
InheritanceObjectEventArgsRoutedEventArgs → ContextRequestedEventArgs

Constructors

ContextRequestedEventArgs()Initializes a new instance of the ContextRequestedEventArgs class.
ContextRequestedEventArgs(ContextRequestedEventArgs)Initializes a new instance of the ContextRequestedEventArgs class.
ContextRequestedEventArgs(PointerEventArgs)Initializes a new instance of the ContextRequestedEventArgs class.

Properties

HandledGets or sets a value indicating whether the routed event has already been handled.
(Inherited from RoutedEventArgs)
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event.
(Inherited from RoutedEventArgs)
RoutedEventGets or sets the routed event associated with these event args.
(Inherited from RoutedEventArgs)
SourceGets or sets the source object that raised the routed event.
(Inherited from RoutedEventArgs)

Methods

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)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)
TryGetPosition(Control, Point)Gets the x- and y-coordinates of the pointer position, optionally evaluated against a coordinate origin of a supplied Control.

See Also

Reference

Avalonia.Controls Namespace