title: How to bind a property containing a space(-like) character in XAML?
body: <p>In the <code>DataContext</code> of my <code>TextBox</code> I have an object which exposes a property called "Name Surname".</p>
  
  <p>I have tried these three possibiltie so far:</p>
  
  
  
  <pre class="lang-xaml prettyprint-override"><code>Text="{Binding selectedEntity.Name Surname}"
  
  Text="{Binding selectedEntity.'Name Surname'}"
  
  Text="{Binding selectedEntity.&amp;quot;Name Surname&amp;quot;}"
  </code></pre>
  
  <p>None does work. Could someone provide me a working example?</p>
  
  <p>EDIT:
  I create the datacontext object in a powershell runspace like this:</p>
  
  
  
  <pre class="lang-ps prettyprint-override"><code>$myObject = New-Object PSObject
  $myObject | Add-Member -Name "Sure Name" -Value "test" -MemberType "NoteProperty"
  </code></pre>
  
  <p>There, I'm allowed to access the property via </p>
  
  <pre class="lang-ps prettyprint-override"><code>$myObject.'Sure Name'.
  </code></pre>