-api-id | -api-type |
---|---|
M:Windows.Graphics.Display.DisplayInformation.GetForCurrentView |
winrt method |
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.
A DisplayInformation object that provides display-related information for the current thread's view.
This method is static. This method can fail if the current thread is not the UI thread for an application view.