title: Apply to Static Class Variable to Xaml Attribute
body: <p>How do you refer/use a static class variable as a XAML attribute value?</p>
  
  <p>For example; AppConstants.cs</p>
  
  <pre><code>public class AppConstants {
      public static readonly Color TextColor = Color.FromHex("aaaaaa");
  }
  </code></pre>
  
  <p>HomePage.xaml (the below code is invalid)</p>
  
  <pre><code>....
  &lt;Button TextColor="AppConstants.TextColor"/&gt;
  ....
  </code></pre>
  
  <p>What is the correct syntax to 'reference' <code>AppConstants.TextColor</code> inside the attribute <code>TextColor</code>?</p>