title: Responsive UI for WPF applications
body: <p>I have been trying to adjust the screen based on different sizes to see if any components are reacting to that. Unfortunately they don't
  I am not sure what I am missing. And it would be great if anyone can give a direct advice and tips for my example implementation.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>    &lt;Window x:Class="WpfApplication1.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          Title="MainWindow" Height="1000" Width="800"&gt;
      &lt;Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="*" /&gt;
              &lt;ColumnDefinition Width="*" /&gt;
              &lt;ColumnDefinition Width="*"/&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition /&gt;
              &lt;RowDefinition /&gt;
              &lt;RowDefinition /&gt;
              &lt;RowDefinition Height="Auto" /&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;ListView Grid.Column="0" Grid.RowSpan="3" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
              &lt;ListViewItem Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
                  &lt;Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
                      &lt;Grid.ColumnDefinitions&gt;
                          &lt;ColumnDefinition Width="*" /&gt;
                          &lt;ColumnDefinition Width="*" /&gt;
                          &lt;ColumnDefinition Width="*"/&gt;
                      &lt;/Grid.ColumnDefinitions&gt;
  
                      &lt;Grid.RowDefinitions&gt;
                          &lt;RowDefinition /&gt;
                          &lt;RowDefinition /&gt;
                          &lt;RowDefinition /&gt;
                          &lt;RowDefinition Height="Auto" /&gt;
                      &lt;/Grid.RowDefinitions&gt;
                      &lt;Expander HorizontalAlignment="Stretch" Grid.Column="0" Grid.Row="1" VerticalAlignment="Stretch"&gt;
                          &lt;Grid Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
                              &lt;Grid.ColumnDefinitions&gt;
                                  &lt;ColumnDefinition Width="20" /&gt;
                                  &lt;ColumnDefinition Width="2*"/&gt;
                                  &lt;ColumnDefinition Width="100" /&gt;
                                  &lt;ColumnDefinition Width="20*"/&gt;
                                  &lt;ColumnDefinition Width="Auto" /&gt;
                              &lt;/Grid.ColumnDefinitions&gt;
  
                              &lt;Grid.RowDefinitions&gt;
                                  &lt;RowDefinition /&gt;
                                  &lt;RowDefinition /&gt;
                                  &lt;RowDefinition /&gt;
                                  &lt;RowDefinition Height="Auto" /&gt;
                              &lt;/Grid.RowDefinitions&gt;
                              &lt;Label Grid.Column="1" Grid.Row="0" Content="HJello World meeee"/&gt;
                              &lt;ListView Grid.Column="3" Grid.Row="0"  Grid.RowSpan="4"&gt;
                                  &lt;ListView.ItemsPanel&gt;
                                      &lt;ItemsPanelTemplate&gt;
                                          &lt;StackPanel Orientation="Horizontal"&gt;&lt;/StackPanel&gt;
                                      &lt;/ItemsPanelTemplate&gt;
                                  &lt;/ListView.ItemsPanel&gt;
                                  &lt;Button Content="Hello Tourist fu"/&gt;
                                  &lt;Button Content="Hello Tourist fu"/&gt;
                                  &lt;Button Content="Hello Tourist fu"/&gt;
                                  &lt;Button Content="Hello Tourist fu"/&gt;
                                  &lt;Button Content="Hello Tourist fu"/&gt;
                                  &lt;ListViewItem Content="Test"/&gt;
                              &lt;/ListView&gt;
                              &lt;Button Grid.Column="4" Grid.Row="0" Content="Test"/&gt;
                          &lt;/Grid&gt;
                      &lt;/Expander&gt;
                  &lt;/Grid&gt;
              &lt;/ListViewItem&gt;
              &lt;ListViewItem Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4"&gt;
  
                  &lt;Expander &gt;
                      &lt;Grid Width="Auto"&gt;
                          &lt;Grid.ColumnDefinitions&gt;
                              &lt;ColumnDefinition Width="20" /&gt;
                              &lt;ColumnDefinition Width="2*"/&gt;
                              &lt;ColumnDefinition Width="100" /&gt;
                              &lt;ColumnDefinition Width="20*"/&gt;
                              &lt;ColumnDefinition Width="Auto" /&gt;
                          &lt;/Grid.ColumnDefinitions&gt;
  
                          &lt;Grid.RowDefinitions&gt;
                              &lt;RowDefinition /&gt;
                              &lt;RowDefinition /&gt;
                              &lt;RowDefinition /&gt;
                              &lt;RowDefinition Height="Auto" /&gt;
                          &lt;/Grid.RowDefinitions&gt;
                          &lt;Label Grid.Column="1" Grid.Row="0" Content="HJello World meeee"/&gt;
                          &lt;ListView Grid.Column="3" Grid.Row="0"  Grid.RowSpan="4"&gt;
                              &lt;ListView.ItemsPanel&gt;
                                  &lt;ItemsPanelTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal"&gt;&lt;/StackPanel&gt;
                                  &lt;/ItemsPanelTemplate&gt;
                              &lt;/ListView.ItemsPanel&gt;
                              &lt;Button Content="Hello Tourist fu"/&gt;
                              &lt;Button Content="Hello Tourist fu"/&gt;
                              &lt;Button Content="Hello Tourist fu"/&gt;
                              &lt;Button Content="Hello Tourist fu"/&gt;
                              &lt;Button Content="Hello Tourist fu"/&gt;
                              &lt;ListViewItem Content="Test"/&gt;
                          &lt;/ListView&gt;
                          &lt;Button Grid.Column="4" Grid.Row="0" Content="Test"/&gt;
                      &lt;/Grid&gt;
                  &lt;/Expander&gt;
              &lt;/ListViewItem&gt;
          &lt;/ListView&gt;
  
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>