Skip to content

Instantly share code, notes, and snippets.

@lbugnion
Created December 13, 2016 10:25
Show Gist options
  • Save lbugnion/ef86fdf6f2c2317f2e640779fbe3f654 to your computer and use it in GitHub Desktop.
Save lbugnion/ef86fdf6f2c2317f2e640779fbe3f654 to your computer and use it in GitHub Desktop.
<Window x:Class="WpfApplication3.MainWindow"
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:WpfApplication3"
mc:Ignorable="d"
Title="MainWindow"
Height="350"
Width="525"
Background="{x:Null}"
AllowsTransparency="True"
WindowStyle="None"
Topmost="True">
<Grid>
<Ellipse Fill="Blue"
Margin="113.335,47.471,103.459,61.191" />
<Rectangle Fill="#99000000"
IsHitTestVisible="False" />
</Grid>
</Window>
@U-C-S
Copy link

U-C-S commented Aug 25, 2020

Thank you a lot😀. This just helped me build a transparent window. I'm new to Visual Studio and C#

😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment