Trying to get DisplayRegion from 16299

John Hagala 21 Reputation points
2020-09-16T00:41:17.493+00:00

We've got a problem right now where we're trying to get WorkAreaOffset from https://learn.microsoft.com/en-us/uwp/api/windows.ui.windowmanagement.displayregion?view=winrt-18362

because we're trying to detect the viewability of an ad on a second monitor.

However, our current Target version is 16299 for business reasons.

Is there a way to get information on the viewability of a control in 16299?

Thanks!

Universal Windows Platform (UWP)
No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,921 Reputation points
    2020-09-16T01:52:19.587+00:00

    Hello,

    Welcome to Microsoft Q&A.

    DisplayRegion is a newly added API in 1903 (18362). In the previous version, there was no related implementation. Currently you cannot make related calls in the lower version.

    Thanks.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

0 additional answers

Sort by: Most helpful