TRANSPARENT CONTENT IN WEBBROWSER

jacob rasel

Total Post:88

Points:616
Posted by  jacob rasel
WPF 
WPF
 1028  View(s)
Ratings:
Rate this:

My task is to show HTML content with half-transparent elements in WPF app. Transparency should go through Webbrowser and window. Webbrowser should not be half-transparent itself. So i need a HTML content, and i need to see desktop through it.

Is there any way to do something like that?

Thank you.

  1. Pravesh Singh

    Post:412

    Points:2888
    Re: Transparent Content in Webbrowser

    Hi Jacob,

    Check the WPF WebControl. You can set WebControl.IsTransparent to true, and load some content with say body { background-color: transparent; } (you can even specify a custom CSS to be applied to all loaded pages, using WebSession).

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!