title: Bind to property in a nested static class
body: <p>I have the following construction:</p>
  
  <pre><code>public static class Constants {
    public static class Foo {
      public static string Bar {
        get {
          //Constants.Foo.Bar == "FooBar"
          return "FooBar";
        }
      }
    }
  }
  </code></pre>
  
  <p>I want to bind this to a button in a usercontrol.</p>
  
  <pre><code>&lt;Button Content="{Binding Source={x:Static ns:Constants.Foo.Bar}}" /&gt;
  </code></pre>
  
  <p>(where ns points to the assembly and namespace where "Constants" is defined).<br>
  This results in two errors:</p>
  
  <blockquote>
    <ul>
    <li>"Cannot find the type 'Constants.Foo'. Note that type names are case sensitive."  </li>
    <li>"Type 'ns:Constants.Foo' was not found."</li>
    </ul>
  </blockquote>
  
  <p>I also tried:</p>
  
  <pre><code>&lt;Button Content="{Binding Source={x:Static ns:Constants+Foo.Bar}}" /&gt;
  </code></pre>
  
  <p>This results in one error:</p>
  
  <blockquote>
    <ul>
    <li>"Type 'ns:Constants+Foo' was not found."</li>
    </ul>
  </blockquote>
  
  <p>Is is possible to bind to a static property in a static class in a static class? If yes, how?</p>