title: Is there any way to separate the styling from my XAML in Xamarin.Forms
body: <p>I'm using Xamarin.Forms in a PCL with the XAML pages. The only way I figured out to style my controls is to use an inline syntax.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Button Text="Inquiry" TextColor="Blue" /&gt;
  </code></pre>
  
  <p>I would prefer to use a structure like this one:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Page.Resources&gt;
      &lt;Style TargetType="Button"&gt;
          &lt;Setter Property="BorderThickness" Value="5" /&gt;
          &lt;Setter Property="Foreground" Value="Blue" /&gt;
      &lt;/Style&gt;
  &lt;/Page.Resources&gt;
  </code></pre>
  
  <p>(<a href="http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465381.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465381.aspx</a>)</p>
  
  <p>However, the Style element is not (yet) supported.
  Has anyone succeeded in separating the layout from the contents?</p>
  
  <p><strong>FYI:</strong> I've also posted this question in Xamarin forums, so anyone who got here by google might want to also check out this page: <a href="http://forums.xamarin.com/discussion/19287/styling-of-xamarin-xaml#latest" rel="noreferrer">http://forums.xamarin.com/discussion/19287/styling-of-xamarin-xaml#latest</a></p>