<Window x:Class="MahApps.Metro.Controls.GlowWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:metro="clr-namespace:MahApps.Metro.Controls"
        x:Name="glowWindow"
        Title="GlowWindow"
        Width="300"
        Height="300"
        Background="Transparent"
        Opacity="0"
        ResizeMode="NoResize"
        ShowActivated="False"
        SnapsToDevicePixels="True"
        WindowStyle="None">

    <Window.Resources>
        <!--  use this storyboard for a smoother visibility  -->
        <Storyboard x:Key="OpacityStoryboard">
            <DoubleAnimation BeginTime="00:00:.2"
                             Storyboard.TargetName="glowWindow"
                             Storyboard.TargetProperty="(UIElement.Opacity)"
                             To="1"
                             Duration="00:00:.3" />
        </Storyboard>
    </Window.Resources>

    <metro:Glow x:Name="glow"
                Width="{Binding ElementName=glowWindow, Path=ActualWidth, Mode=OneWay}"
                Height="{Binding ElementName=glowWindow, Path=ActualHeight, Mode=OneWay}"
                x:FieldModifier="private" />
</Window>
