title: Using code constant in XAML
body: <p>I have this XAML code:</p>
  
  <pre>
  &lt;ListBox DataContext="{Binding Tables[Suppliers]}" ItemsSource="{Binding}">
  &lt;/ListBox>
  </pre>
  
  <p>In the project I have the following code:</p>
  
  <pre>
  namespace Suppliers
  {
      class DBServer
      {
          public const string TableSuppliers = "Suppliers";
      }
  </pre>
  
  <p>How can I use Suppliers.DBServer.TableSuppliers in the XAML page instead of hard-coded Suppliers:</p>
  
  <pre>
  {Binding Tables[ ??? ]} 
  </pre>