title: WPF Window does not load UserControl
body: <p>I guess I've got a pretty simple problem. I'm tying show a usercontrol via contentcontrol.
  What a did is to create this usercontrol...</p>
  
  <pre><code>&lt;UserControl x:Class="Exxeta.ModeldrivenCostEstimation.WPF.UserControlModelAnalysis"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
           mc:Ignorable="d" 
           d:DesignHeight="350" d:DesignWidth="525"&gt;
  &lt;Grid Margin="0,0,0,0"&gt;
      &lt;Grid Background="#FFE5E5E5" HorizontalAlignment="Right" Width="489" Margin="0,93,11,0" Height="164" VerticalAlignment="Top" &gt;
          &lt;DataGrid x:Name="DataGrid" HorizontalAlignment="Left" VerticalAlignment="Top"
              Width="489" AutoGenerateColumns="False" ItemsSource="{Binding ViewModelModelAnalysis.GridObjects}" CanUserResizeRows="False" CanUserResizeColumns="False"&gt;
          &lt;/DataGrid&gt;
      &lt;/Grid&gt;
  
  
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>and declared the contentControl on my mainwindow</p>
  
  <pre><code>&lt;Window x:Class="WPF.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          Title="Test" Height="350" Width="525" ResizeMode="NoResize" Background="#FFE5E5E5"&gt;
      &lt;ContentControl Name="Content"  Width="Auto" Opacity="1" Background="Transparent" &gt;&lt;/ContentControl&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>.. And as I read I create the windows like this.</p>
  
  <pre><code>public MainWindow(***)
  {
      InitializeComponent();
      model = new BasicViewModel();
      UserControl c1 = new UserControlModelAnalysis();
      this.Content = c1;
      this.DataContext = model;
  
  }
  </code></pre>
  
  <p>But the content is not shown by the window. Did I missed something there ? 
  Hope you can help me out of this little issue.</p>
  
  <p>Thanks for your help
  Iki</p>