﻿<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:s="clr-namespace:System;assembly=mscorlib"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Page.Resources>
    <SolidColorBrush
      x:Key="Foreground"
      Color="White"/>
  </Page.Resources>
  <Grid Background="Silver">
    <Grid.Resources>
      <SolidColorBrush
        x:Key="Background"
        Color="Navy"/>
    </Grid.Resources>
    <Button
      HorizontalAlignment="Center"
      VerticalAlignment="Center"
      Background="{StaticResource Background}"
      Content="Click Me"
      FontSize="48"
      Foreground="{StaticResource Foreground}"/>
  </Grid>
</Page>
