Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PointerEventArgs Class

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
PointerEventArgs.cs
Source:
PointerEventArgs.cs
Source:
PointerEventArgs.cs
Source:
PointerEventArgs.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Arguments for PointerGestureRecognizer events.

public ref class PointerEventArgs : EventArgs
public class PointerEventArgs : EventArgs
type PointerEventArgs = class
 inherit EventArgs
Public Class PointerEventArgs
Inherits EventArgs
Inheritance
PointerEventArgs

Constructors

Name Description
PointerEventArgs()

Initializes a new instance of the PointerEventArgs class.

Properties

Name Description
Button

Gets the mouse button that triggered this pointer event.

PlatformArgs

Gets the platform-specific arguments associated with the PointerEventArgs.

Methods

Name Description
GetPosition(Element)

When overridden in a derived class, gets the position of the pointer.

Applies to


Feedback

Was this page helpful?