title: Access controls not properties in XAML User Control
body: <p>I already know how to compose User Control and access inner control properties with Dependency Properties in XAML User Control.</p>
  
  <p>My question is, how to access a control itself inside of User Control.
  For example,</p>
  
  <p><strong>User Control: TbCanvas.xaml</strong> </p>
  
  <pre><code>&lt;UserControl
  x:Class="Sample.Control.TbCanvas"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  d:DesignHeight="300"
  d:DesignWidth="400"
  x:Name="root"&gt;
  &lt;Grid&gt;
      &lt;Image x:Name="imageMain" /&gt;
  &lt;/Grid&gt;
  &lt;/UserControl&gt;
  </code></pre>
  
  <p>I'd like to use it in some <code>Page</code> that has above User Control as below.</p>
  
  <p><strong>SomePage.xaml.cs</strong></p>
  
  <pre><code>this.tbCanvas.imageMain.Source = "some_path";
  </code></pre>
  
  <p>Of course, the <code>Source</code> can be given as <code>Dependency Property</code> with <code>Binding</code>, but I sometimes need to access inner controls because every property of controls are not entirely bindable.</p>