<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1Extended_Demo.CustomEditors" mc:Ignorable="d" d:DesignWidth="426" d:DataContext="{d:DesignData Source=/DesignData/SampleItem.xaml}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="10" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>

        <StackPanel Orientation="Vertical" VerticalAlignment="Center">
            <Border Margin="0 0 0 10">
                <TextBlock Text="Default Editors" />
            </Border>
            <c1:C1PropertyGrid x:Name="_propertyGrid" AutoGenerateProperties="True" LabelWidth="90" Height="250" VerticalAlignment="Center" SelectedObject="{Binding}" />
        </StackPanel>

        <StackPanel Orientation="Vertical" Grid.Column="2" VerticalAlignment="Center">
            <Border Margin="0 0 0 10">
                <TextBlock Text="Custom Editors" />
            </Border>
            <c1:C1PropertyGrid x:Name="_customPropertyGrid" AutoGenerateProperties="True" LabelWidth="90" Height="250" VerticalAlignment="Center" PropertyBoxAdded="_customPropertyGrid_PropertyBoxAdded" SelectedObject="{Binding}" />
        </StackPanel>
    </Grid>
</UserControl>