<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ThemingC1Window.MainPage" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">

    <c1:C1ThemeExpressionDark x:Name="theme">
        <Grid x:Name="LayoutRoot">
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" MinWidth="10" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>            
            
            <c1:C1PropertyGrid x:Name="propertygrid" />
            
            <StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center">
                <Button x:Name="btnOpenWindow" Content="Open Window" Margin="20" Click="btnOpenWindow_Click" />
                <Button x:Name="btnOpenMessageBox" Content="Open MessageBox" Margin="20" Click="btnOpenMessageBox_Click" />
            </StackPanel>
        </Grid>
    </c1:C1ThemeExpressionDark>
</UserControl>