title: How to make a text box Visibility=Hidden with a trigger
body: <p>I seem to be having a hard time today. All I want to do is make a <code>TextBox</code> hidden of visible based on a bool value databound to the Window its hosted in. </p>
  
  <p>What I have just won't compile and I don't understand why. Please help.</p>
  
  <pre><code>&lt;TextBlock Grid.Column="2" Text="This order will be sent to accounting for approval" 
             Foreground="Red" VerticalAlignment="Center" FontWeight="Bold" Padding="5"&gt;
      &lt;TextBlock.Style&gt;
          &lt;Style&gt;
              &lt;Style.Triggers&gt;
                  &lt;DataTrigger Binding="{Binding Path=AllowedToSubmit}" Value="True"&gt;
                      &lt;Setter Property="Visibility" Value="Hidden" /&gt; 
                  &lt;/DataTrigger&gt;
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/TextBlock.Style&gt;
  &lt;/TextBlock&gt;
  </code></pre>