title: Using a DataTrigger to change Just the left or right margin (or both)
body: <p>So I've got a grid that needs to change it's margin based on flag in the VM.
  Seems like datatriggers is the right way to handle this.</p>
  
  <p>So I set this up:</p>
  
  <pre><code>&lt;Grid x:Name="myGrid" Grid.Row="1" Margin="30,0"&gt;
      &lt;Grid.Style&gt;
          &lt;Style TargetType="Grid"&gt;
              &lt;Style.Triggers&gt;
                  &lt;DataTrigger Binding="{Binding UI_Preferences.RightPanelPinned}" Value="true" &gt;
                      &lt;Setter Property="Margin" value="200" /&gt;
                  &lt;/DataTrigger&gt;
                  &lt;DataTrigger Binding="{Binding UI_Preferences.LeftPanelPinned}" Value="true" &gt;
                      &lt;Setter Property="Margin" value="200" /&gt;
                  &lt;/DataTrigger&gt;
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/Grid.Style&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>Which works, but I can't figure out how to modify just the left or right margins individually.</p>