Version

GetHitDataContext Method (Series)

Gets the DataContext matching the given position.
Syntax
public DataContext GetHitDataContext( 
   Point position,
   bool isFinger
)

Parameters

position
The position to hit test.
isFinger
True if the hit test should be performed as a touch interaction; otherwise, it should be performed as a mouse interaction.

Return Value

The DataContext matching an item found at the given position.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also