Frame innerborder ?

Hi all

I have this Frame in my wpf app, that shows a html page.

But I want to remove the border around the content of the frame, how do I do that ?

BorderThickness="0,0,0,0", does not help, it still has this 2 pixel gray "inner" border.

<Frame Content="Frame" Grid.Row="1" x:Name="Frame1" BorderThickness="0,0,0,0" Source="somehtmlpage.html" HorizontalAlignment="Left" VerticalAlignment="Top" Width="720" Height="180"/>

/Anders

[585 byte] By [AndersJensen] at [2008-1-4]
# 1
I almost fixed it, by setting Style="border: solid 0px #ffffff" on the "somehtmlpage.html", I was lucky in this case, becouse I host the html my self, but if any one comes by removing the frameborder the right way please let me know...
AndersJensen at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2
If you hosted the WebBrowser control directly from WindowsForms, you have more control over the appearance of the browser and you could programatically change the border even on web pages you don't control.
WPCoder at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified