title: How to resize multiple canvas in WPF?
body: <p>I want to resize multiple shapes at same time.Here is my xaml code. It has 2 canvas called g6 and g10 but in real project i got nearly 100 canvas. Any solution?</p>
  
  <pre><code>&lt;Canvas
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      x:Name="svg2"
      Width="612"
      Height="800"&gt;
      &lt;Canvas
          x:Name="g4"
          RenderTransform="1.3702001,0,0,1.4522231,268.12186,265.31238"&gt;
          &lt;Canvas x:Name="g6"&gt;
              &lt;Path
                  x:Name="path8"
                  Data="F1 M-153.219,-37.369C-153.219,-37.369 -153.168,-36.483 -153.579,-36.491 -153.99,-36.5 -162.189,-58.998 -172.418,-57.948 -172.419,-57.948 -163.557,-61.389 -153.219,-37.369L-153.219,-37.369z"
                  Fill="#FFFFFFFF"
                  Stroke="#FF000000"
                  StrokeMiterLimit="4"
                  StrokeThickness="0.172" /&gt;
          &lt;/Canvas&gt;
          &lt;Canvas x:Name="g10"&gt;
              &lt;Path
                  x:Name="path12"
                  Data="F1 M-151.46,-38.783C-151.46,-38.783 -151.734,-37.933 -152.117,-38.073 -152.5,-38.212 -152.06,-61.988 -162.059,-64.269 -162.059,-64.269 -152.48,-64.673 -151.46,-38.783z"
                  Fill="#FFFFFFFF"
                  Stroke="#FF000000"
                  StrokeMiterLimit="4"
                  StrokeThickness="0.172" /&gt;
          &lt;/Canvas&gt;
      &lt;/Canvas&gt;
  &lt;/Canvas&gt;
  </code></pre>