title: Wpf change size of data inside gridView
body: <p>hello i have data in a gridView and i want to change the size of the data:
  i mean i want to resize the data who comes from a list in c#</p>
  
  <p>code:</p>
  
  <pre><code>&lt;Window x:Class="DadBussines.PL.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Title="MainWindow" Height="800" Width="1600"&gt;
  &lt;Grid&gt;
  
      &lt;Label Content="product name" FontSize="25" Margin="705,121,652.6,590.4"/&gt;
      &lt;TextBox Name="name_textBox" FontSize="25" HorizontalAlignment="Left" Height="58" Margin="599,195,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="400" AllowDrop="True" IsHitTestVisible="True" TextChanged="name_textBox_TextChanged" /&gt;
  
  
      &lt;Button Content="add product" FontSize="25" HorizontalAlignment="Left" Margin="19,27,0,0" VerticalAlignment="Top" Width="123" Click="Button_Click_Add_Product"/&gt;
      &lt;Button Content="delete product" FontSize="25" HorizontalAlignment="Left" Margin="161,27,0,0" VerticalAlignment="Top" Width="129" Click="Button_Click_Delete_Product"/&gt;
      &lt;Button Content="add amount" FontSize="25" HorizontalAlignment="Left" Margin="304,27,0,0" VerticalAlignment="Top" Width="142" Click="Button_Click_Add_Amount"/&gt;
      &lt;Button Content="delete amount" FontSize="25" HorizontalAlignment="Left" Margin="461,27,0,0" VerticalAlignment="Top" Width="151" Click="Button_Click_Remove_Amount"/&gt;
      &lt;Button Content="change price" FontSize="25" HorizontalAlignment="Left" Margin="629,27,0,0" VerticalAlignment="Top" Width="151" Click="Button_Click_Change_Price" /&gt;
      &lt;Label Content="money in staff" FontSize="25" HorizontalAlignment="Left" Margin="1388,90,0,0" VerticalAlignment="Top" Width="166"/&gt;
      &lt;Label Name="sumOfMoney_label" Content="" FontSize="25" HorizontalAlignment="Left" Margin="1185,95,0,0" VerticalAlignment="Top" Width="177"/&gt;
  
      &lt;ListView Margin="10,288,10,10" Name="products_ListView"  &gt;
          &lt;ListView.View&gt;
              &lt;GridView&gt;
                  &lt;GridViewColumn Header="index" Width="40" DisplayMemberBinding="{Binding id}"/&gt;
                  &lt;GridViewColumn Header="name product" Width="312" DisplayMemberBinding="{Binding name}"/&gt;
                  &lt;GridViewColumn Header="price product" Width="312" DisplayMemberBinding="{Binding price}" /&gt;
                  &lt;GridViewColumn Header="amount product in cartons" Width="312" DisplayMemberBinding="{Binding amount}" /&gt;
                  &lt;GridViewColumn Header="amount product inside cartons" Width="312" DisplayMemberBinding="{Binding amount_in_box}" /&gt;
                  &lt;GridViewColumn Header="product type" Width="312" DisplayMemberBinding="{Binding catagory}" /&gt;
  
  
              &lt;/GridView&gt;
          &lt;/ListView.View&gt;
      &lt;/ListView&gt;
  
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>