WPF Browser is there, but invisible

前端 未结 6 958
面向向阳花
面向向阳花 2021-02-13 05:07

I am attempting to use the Browser control in a very simple WPF application, and it appears that while the browser is loading the page that I requested (I can mouseover images a

6条回答
  •  既然无缘
    2021-02-13 05:33

    I was having this same issue and found this post. No one clarified the answer marked as correct. I don't have the points yet to simply make a comment. The AllowsTransparency="False" needs to be applied to the XAML Window tag. Example:

    
    

    It took some digging and investigation to figure it out but with that set my issues with the invisible browser control were mitigated.

提交回复
热议问题