title: Access Page resource element
body: <p>How can I access page resource element in C# coding? I have the following piece of code in my XAML. I want to access the <code>image</code> element in my C# Code, but it is not accessible.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Page.Resources&gt;
   &lt;DataTemplate x:Key="Standard250x250ItemTemplate"&gt;
       &lt;Grid HorizontalAlignment="Left" Width="150" Height="150"&gt;
           &lt;Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}"&gt;
               &lt;Image x:Name="image" Source="{Binding Image}"  Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}" /&gt;
           &lt;/Border&gt;    
       &lt;/Grid&gt;
   &lt;/DataTemplate&gt;
  </code></pre>