-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Labels
area-interopInteroperation support for Windows APIs that need context, like an HWNDInteroperation support for Windows APIs that need context, like an HWNDtheme-UwpParity
Description
I am working on a .net5 project which uses winrt, I was trying to get the scalefactor from the DisplayInformation Class but calling DisplayInformation.GetForCurrentView() throws exception, is it because core window, core application view is not supported in WPF, it throws an COM exception stating "element not found". Is there any way to overcome this, or should i need to continue with win32 methods itself.
Metadata
Metadata
Assignees
Labels
area-interopInteroperation support for Windows APIs that need context, like an HWNDInteroperation support for Windows APIs that need context, like an HWNDtheme-UwpParity