-api-id | -api-type |
---|---|
M:Microsoft.UI.Windowing.DisplayArea.GetFromRect(Windows.Graphics.RectInt32,Microsoft.UI.Windowing.DisplayAreaFallback) |
winrt method |
Microsoft.UI.Windowing.DisplayArea.GetFromRect(Windows.Graphics.RectInt32,Microsoft.UI.Windowing.DisplayAreaFallback)
Gets the DisplayArea
where the specified rectangle is present.
The rectangle for which to get the DisplayArea
.
The DisplayArea
to use if no DisplayArea
is found with the given parameter.
The DisplayArea
where the specified rectangle is present, or the display area indicated by displayAreaFallback if no match is found.