Share via


DisplayArea.GetFromPoint(PointInt32, DisplayAreaFallback) Method

Definition

Gets the DisplayArea where the specified Point is present.

public:
 static DisplayArea ^ GetFromPoint(PointInt32 point, DisplayAreaFallback displayAreaFallback);
 static DisplayArea GetFromPoint(PointInt32 const& point, DisplayAreaFallback const& displayAreaFallback);
public static DisplayArea GetFromPoint(PointInt32 point, DisplayAreaFallback displayAreaFallback);
function getFromPoint(point, displayAreaFallback)
Public Shared Function GetFromPoint (point As PointInt32, displayAreaFallback As DisplayAreaFallback) As DisplayArea

Parameters

point
PointInt32

The point for which to get the DisplayArea.

displayAreaFallback
DisplayAreaFallback

The DisplayArea to use if no DisplayArea is found with the given parameter.

Returns

The DisplayArea where the specified point is present, or the display area indicated by displayAreaFallback if no match is found.

Applies to

See also