AllowsTransparency = "True"

Feb 2, 2012 at 3:04 PM

Hi all,

When I add this property to the window, I cant see the html inside the editor.

What can I do?

Thanks.

example :

<Window x:Class="Smith.WPF.HtmlEditor.Demo.MainWindow"     

  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 

      xmlns:ex="clr-namespace:Smith.WPF.HtmlEditor;assembly=Smith.WPF.HtmlEditor"

AllowsTransparency="True"                WindowStartupLocation="CenterScreen"        Width="800" Height="825" WindowStyle="None" ResizeMode="NoResize"          Title="Smith Html Editor Demo"> 

   <Window.Resources>     

 <Style TargetType="{x:Type Label}">         

  <Setter Property="Padding"                    Value="0" />           

<Setter Property="VerticalAlignment"                    Value="Center" />   

        <Setter Property="VerticalContentAlignment"                    Value="Center" />     

  </Style>   

    <Style TargetType="{x:Type Button}">   

        <Setter Property="Padding"                    Value="4,2" />       

</Style>    <

/Window.Resources>         

<ex:HtmlEditor x:Name="Editor" Height="Auto" Width="Auto" /> 

 </Window>

Feb 4, 2013 at 12:22 PM
Hi,



I have the same problem. Is this a bug? Is there a work around?
Jul 9, 2013 at 6:39 AM
Hi,
same problem here...