Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add ToPlatform extension methods for PointerEventArgs to retrieve platform events #16216

@PureWeen

Description

@PureWeen

Description

Create a set of ToPlatform extension methods for PointerEventArgs that will let users retrieve the platform event args related to the event.

Public API Changes

//Android
MotionEvent ToPlatform(this PlatformEventArgs args)

//iOS
UIHoverGestureRecognizer ToPlatform(this PlatformEventArgs args)

//WinUI
PointerRoutedEventArgs ToPlatform(this PlatformEventArgs args)

Intended Use-Case

Let developers get access to the underlying platform event so they can utilize the myriad of platform APIs that aren't being exposed at the xplat level.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions