<!-- Example 12-21. Referencing a Style resource -->

<Window x:Class="ResourcesExample.StyleExplicitReference" Title="Resources"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

  <Window.Resources>
    <Style TargetType="{x:Type Button}">
      <Setter Property="Button.FontSize" Value="36" />
    </Style>
  </Window.Resources>

  <Grid>
    <Button>Hello</Button>
  </Grid>
</Window>

<!-- End of Example 12-21. -->