title: How to do simple Binding in Silverlight?
body: <p>I understand that Silverlight 3.0 has binding but just want a simple example on how to use this to read a property from a class.<br>
  I have a class called Appointment which as a String property called Location:</p>
  
  <pre><code>    Public Property Location() As String
          Get
              Return _Location
          End Get
          Set(ByVal Value As String)
              _Location = Value
          End Set
      End Property
  </code></pre>
  
  <p>With a Private Declaration for the _Location as String of course.<br>
  I want a XAML element to bind to this property to display this in a TextElement, but it must be in XAML and not code, for example I want something like this:  </p>
  
  <pre><code>&lt;TextBlock Text="{Binding Appointment.Location}"/&gt; 
  </code></pre>
  
  <p>What do I need to do to get this to work?<br>
  It has to be a Silverlight 3.0 solution as some WPF features are not present such as DynamicResource which is what I'm used to using.</p>
  
  <hr>
  
  <p>Just to add that my XAML is being loaded in from a seperate XAML File, this may be a factor in why the binding examples don't seem to work, as there are different XAML files the same Appointment.Location data needs to be applied.</p>