<Window
  x:Class="CustomDialogSample.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:properties="clr-namespace:CustomDialogSample.Properties"
  Title="CustomDialogSample"
  Height="300"
  Width="300">
  <Grid DataContext="{x:Static properties:Settings.Default}">
    <Grid.Resources>
      <SolidColorBrush x:Key="reportBrush" Color="{Binding ReportColor}" />
    </Grid.Resources>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Row="0" Grid.Column="0">Report Color:</TextBlock>
    <Border Grid.Row="0" Grid.Column="1" Background="{DynamicResource reportBrush}" />
    <TextBlock Grid.Row="1" Grid.Column="0">Report Folder:</TextBlock>
    <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding ReportFolder}" />
    <TextBlock Grid.Row="2" Grid.Column="0">Reporter:</TextBlock>
    <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Reporter}" />
    <Button Grid.Row="3" Grid.Column="1" x:Name="settingsButton">Settings Dialog...</Button>
  </Grid>
</Window>
