Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transparent Content in Webbrowser

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.

P.S.: Sorry for my English.

like image 766
Yevgeniy Avatar asked Jul 03 '13 16:07

Yevgeniy


1 Answers

Awesomium and Awesomium.NET is an HTML UI Engine that supports just that.

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).

like image 70
Perikles C. Stephanidis Avatar answered Oct 09 '22 20:10

Perikles C. Stephanidis