Viewbox cuts off bottom of window using UniformToFill
<p>So I'm developing a C# WPF Application. I want the MainWindow to always be maximized (which it is). The trouble came when I started thinking about resolutions. It has to adjust for the different screen resolutions. So, now I'm using a Viewbox (containing a grid). The Problem is I cannot use UniformToFill on the Stretch property for the ViewBox because it cuts off the bottom of the window. However, when I use "Uniform", it doesn't use the entire screen (which I really need). How do I get UniformToFill to Fill the window but not cut anything out? My Window code looks something like this: </p>

<pre><code>&lt;Window x:Name="AppMenu" x:Class="App.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Title="App" FontWeight="Bold" Icon="Images/Core-IconSize.ico" WindowStartupLocation="CenterScreen" WindowStyle="ThreeDBorderWindow" WindowState="Maximized" ResizeMode="CanMinimize""&gt;
    &lt;Viewbox Stretch="Uniform" Width="Auto" Height="Auto"&gt;
          &lt;Grid x:Name="MyGrid"&gt;
             //Controls
          &lt;/Grid&gt;
    &lt;/Viewbox&gt;
&lt;/Window
</code></pre>