title: Xamarin forms: Resource dictionary - Set font family for label, textview and Buttons
body: <p>I want to set font information in resource dictionary which is used by labels, buttons, textviews.</p>
  
  <pre><code>&lt;OnPlatform x:TypeArguments="x:String" x:Key="HelveticaNeue"&gt;
                  &lt;On Platform="iOS"&gt;HelveticaNeue&lt;/On&gt;
                  &lt;On Platform="Android"&gt;HelveticaNeue#HelveticaNeue&lt;/On&gt;
              &lt;/OnPlatform&gt;
  
              &lt;Style x:Key="style1" TargetType="Font"&gt;
                  &lt;Setter Property="FontFamily" Value="{StaticResource HelveticaNeue}" /&gt;
                  &lt;Setter Property="FontSize" Value="23" /&gt;
              &lt;/Style&gt;
  </code></pre>
  
  <p>I tried above code, but its failing because in the type <code>Font</code> the <code>FontFamily</code> set property is private. For the key <code>style1</code>, if I set the target type as label or button it works.
  Is there a way I can set font information (which includes font family and size) in resource dictionary at once which can be used by label, button and textviews without duplicating the same type for different target type ?</p>