title: How to add canvas xaml resource in usercontrol
body: <p>I have downloaded this pack : <a href="http://modernuiicons.com/" rel="noreferrer">http://modernuiicons.com/</a> and I'm trying to use the xaml icons.</p>
  
  <p>I have added a xaml file to my solution with the following content</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_check" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0"&gt;
  &lt;Path Width="37.9998" Height="31.6665" Canvas.Left="19.0001" Canvas.Top="22.1668" Stretch="Fill" Fill="#FF000000" Data="F1 M 23.7501,33.25L 34.8334,44.3333L 52.2499,22.1668L 56.9999,26.9168L 34.8334,53.8333L 19.0001,38L 23.7501,33.25 Z "/&gt;
  &lt;/Canvas&gt;
  </code></pre>
  
  <p>Now, how do I reference this canvas to my usercontrol? </p>
  
  <p>Usercontrol</p>
  
  <pre><code>&lt;UserControl
  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"
  xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
  mc:Ignorable="d"
  x:Class="UserControlSolution.UserControlButton"
  x:Name="UserControl"
  Height="50" Background="#FF2F2F2F" BorderBrush="#FF919191"&gt;
  
  
  &lt;Grid x:Name="LayoutRoot" Height="50" RenderTransformOrigin="0.5,0.5"&gt;
      &lt;Rectangle x:Name="rectangle" RenderTransformOrigin="0.5,0.5" Width="230" Height="50"/&gt;
      &lt;TextBlock x:Name="NameLabel" FontSize="16" Foreground="#FFE5E5E5" Height="34" Width="149" Text="Onthaal Telefoon" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="10,10,0,0" FontFamily="Segoe UI Semibold"/&gt;
      &lt;Viewbox HorizontalAlignment="Right" VerticalAlignment="Top" Height="16.5" Width="17.789" Margin="0,15,24.5,0"&gt;
          // Here I want to reference the canvas
      &lt;/Viewbox&gt;
  &lt;/Grid&gt;
  &lt;/UserControl&gt;
  </code></pre>
  
  <p>I can copy the content of the canvas offcourse but there must be another solution.</p>