title: How to access ItemsSource property of a DataGrid defined in UserControl from main xaml file?
body: <p>I have declared a DataGrid in UserControl.</p>
  
  <p>Now I have included the UserControl in my main xaml file. I am trying to set the ItemsSource property of DataGrid from main.xaml; but I am getting an error "The property ItemsSource doesnot exist in the namespace". </p>
  
  <p>I am able to set the other properties like Background,Foreground, etc. </p>
  
  <p>My UserControl has this :</p>
  
  <pre><code>&lt;wpfkit:DataGrid Name="DataGrid1"  
                       AutoGenerateColumns="True"
                       Width="Auto"&gt;
  &lt;/wpfkit:DataGrid&gt;
  </code></pre>
  
  <p>In main.xaml :</p>
  
  <pre><code>&lt;usercontrol:MultiStepProcessGrid ItemsSource="{Binding GridData}" &gt;&lt;/usercontrol:MultiStepProcessGrid&gt;
  
  The above line is giving an error stating that ItemsSource doesnot exist in namespace.
  So I wanted to know whether its possible to set the ItemsSource from main.xaml or not!!
  </code></pre>
  
  <p>Please help me regarding this !!!                   </p>