|  | 
	
	
	| Rank: Newbie Groups: Member
 
 Joined: 4/18/2016
 Posts: 1
 
 | 
		    I am trying to render HTML in a transparent window by setting the 'AllowsTransparency'="True" (See XAML below.)But when I do the WebControl does not appear at all.
 It is only visible when I set 'AllowsTransparency' to 'false'.
 
 What do I need to do to make this work?
 
 I am using version v2016.0.55.0.
 I am evaluating this, so I don't have a license.
 
 Thanks.
 
 
 
 <Window
 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:local="clr-namespace:EssentialObjects_WebControl"
 xmlns:eo="http://schemas.essentialobjects.com/wpf/" x:Name="window" x:Class="EssentialObjects_WebControl.MainWindow"
 mc:Ignorable="d"
 Title="MainWindow" Height="503" Width="755" Opacity="0.8" WindowStyle="None" AllowsTransparency="True">
 
 <Grid x:Name="grid" Background="Red" Opacity="0.9">
 <eo:WebControl x:Name="webControl" Margin="0,23,4,29">
 <eo:WebControl.WebView>
 <eo:WebView Url="http://html5test.com/"/>
 </eo:WebControl.WebView>
 </eo:WebControl>
 </Grid>
 </Window>
 
 
 | 
|  | 
	
	
	| Rank: Administration Groups: Administration
 
 Joined: 5/27/2007
 Posts: 24,425
 
 | 
		    This will not work. The web engine does not support transparent windows. Sorry about it!
		 | 
|  | 
	
	
	| Rank: Advanced Member Groups: Member
 
 Joined: 10/4/2016
 Posts: 104
 
 | 
		    Hi,
 I understand the root cause is because the <eo:WebControl/> is actually a .Net form and not a WPF form but I was wondering if you have had any luck in implementing a "true" WPF container to render the web content.
 
 This would allow a great deal of nice effects on the client applications.
 
 Thank you.
 | 
|  | 
	
	
	| Rank: Administration Groups: Administration
 
 Joined: 5/27/2007
 Posts: 24,425
 
 | 
		    Hi,
 The core class of EO.WebEngine is the WebView class. This class is platform neutral ---- it's neither Windows Forms nor WPF. It's built on top of Windows APIs and work with window handle directly. The main functionality of both the Windows Form version or WPF version of the WebControl class is to provide an OS parent window handle needed by the WebView. Due to implementation details of the browser engine (primarily because of GPU related code), this parent window can not be transparent. So the transparency issue is really between Windows (window manager and directX) and the browser engine. It is not related to WPF.
 
 Thanks
 | 
|  | 
	
	
	| Rank: Advanced Member Groups: Member
 
 Joined: 10/4/2016
 Posts: 104
 
 | 
		    Thank you for your additional explanation. I'm sure there is always a way ;-) but now I see the additional complexity of it.Regards
 | 
|  |