title: How to define a private grid in WPF
body: <p>When I defined a grid in xaml and use the x:Name such as the code below,the grid seems to be "internal".I can use it just with the x:Name--'testGrid' in the same project. </p>
  
  <pre><code>    &lt;Grid x:Name="testGrid"&gt;&lt;/Grid&gt;
  </code></pre>
  
  <p>I mean that why don't define the Grid as "private",since it is "internal" then we can add/remove children to it or even can change its behaviour?Is that safe for a "sealed" class?</p>
  
  <p>Thanks for your time and answers!</p>