---
title: "WPF webbrowser on transparent window"  
description: "WPF webbrowser on transparent window"  
author: "Anonymous User"  
published: 2013-12-17  
updated: 2013-12-17  
canonical: https://www.mindstick.com/forum/1784/wpf-webbrowser-on-transparent-window  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# WPF webbrowser on transparent window

I have a WPF WebBrowser [control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control) in a [Window](https://www.mindstick.com/forum/161285/how-does-the-window-console-object-work-in-javascript).

I want to [remove](https://yourviews.mindstick.com/story/4554/8-harmful-weeds-to-remove-from-garden) the [default](https://www.mindstick.com/interview/12771/what-is-the-importance-of-default-resources) window [controls](https://www.mindstick.com/articles/66/how-to-create-controls-at-run-time-in-csharp-dot-net) so I set AllowsTransparency="[True](https://yourviews.mindstick.com/view/81326/boycott-chinese-products-dream-will-come-true)" and WindowStyle="None".

```
<Window x:Class="InstallerToolkit.InteractiveDemosWindow"   
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
Height="870" Width="1110"
WindowStyle="None" 
AllowsTransparency="True" 
WindowStartupLocation="CenterScreen"><Grid>    <WebBrowser Name="WebBrowser" HorizontalAlignment="Left"
Height="795" Margin="10,35,0,0" VerticalAlignment="Top"
Width="1082" />    </Grid>
```

This [results](https://yourviews.mindstick.com/story/4497/usage-of-baking-soda-magical-results) - not being able to see my [web browser](https://www.mindstick.com/blog/301688/best-web-browsers-for-2023) contents. If I remove the AllowsTransparency="True" then I can see by webpage but now I have the default controls which I don't want.

How do I get around this?

## Replies

### Reply by Pravesh Singh

Hi Goti,\
Adding ResizeMode = NoResize should get you rid of the controls.I should mention that AllowTransparency = True can reduce performance! Depending on the kind of software, try avoinding it!


---

Original Source: https://www.mindstick.com/forum/1784/wpf-webbrowser-on-transparent-window

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
