title: Accessing dependency property in the same control xaml
body: <p>In a Wpf Application i have a main window. 
  I have added a user control to the same project.
  In the user control's .xaml.cs file a Dependency property ( "Value" name of the property ) is added.   </p>
  
  <p>I would like to access the defined dependency property in the usercontrol.xaml.
  I know i can do the same while creating the control instance either in window.xaml or some other user control.</p>
  
  <p>But is it possible to access the dependency property defined in .xaml.cs in .xaml?</p>
  
  <p><strong>Question updated based on Vivs answer</strong></p>
  
  <p>Ok. I mentioned my question wrongly. Nevertheless even i was not aware of accessing. But my actual intended question is it possible to set the dependency property from .xaml. some thing like from the example given above,</p>
  
  <pre><code>&lt;Grid CustomBackground ="{Binding Path= BackgroundColor}" /&gt;
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>&lt;Grid CustomBackground ="Blue" /&gt;
  </code></pre>
  
  <p>Is it possible to set the custom dependency properties like this in the same .xaml?</p>