I am trying to find a way to make the UWP WebView2 transparent to use it in game bar widget that supports full transparency.
I tried different ways I found on the Internet but nothing worked. The background stays white.
I am trying to find a way to make the UWP WebView2 transparent to use it in game bar widget that supports full transparency.
I tried different ways I found on the Internet but nothing worked. The background stays white.
According to the document, it is recommended to use
Environment.SetEnvironmentVariableto set the transparency.