Windows.Graphics.Display.DisplayInformation.GetForCurrentView

November 8, 2017 ยท View on GitHub

-description

Gets the DisplayInformation instance associated with the current thread's CoreApplicationView. This DisplayInformation instance is tied to the view and cannot be used from other threads.

-returns

A DisplayInformation object that provides display-related information for the current thread's view.

-remarks

This method is static. This method can fail if the current thread is not the UI thread for an application view.

-examples

-see-also