title: WPF window shadow effect
body: <p>I am new to WPF technology. I have the following window declaration in WPF:</p>
  
  <pre class="lang-xaml prettyprint-override"><code>&lt;Window x:Class="CustomWindows.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          Title="MainWindow" Height="480" Width="640" ScrollViewer.VerticalScrollBarVisibility="Disabled" WindowStyle="None" AllowsTransparency="True"&gt;
      &lt;Window.Effect&gt;
          &lt;DropShadowEffect BlurRadius="15" Direction="-90" RenderingBias="Quality" ShadowDepth="2"/&gt;
      &lt;/Window.Effect&gt;
      &lt;Grid&gt;
  
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>But when I run it, the shadow does not appear. What can I do, or where is the misstake?</p>