<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1Extended_Demo.HexColorEditor" mc:Ignorable="d" d:DesignWidth="115" d:DesignHeight="25" 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">
    <UserControl.Resources>
        <c1:ColorConverter x:Key="colorConverter" />
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="Auto" />
    		<ColumnDefinition Width="*" />
    	</Grid.ColumnDefinitions>
    	<c1:C1CheckeredBorder CornerRadius="0" BorderThickness="1" BorderBrush="#FF8094A4" Background="{Binding Color, Converter={StaticResource colorConverter}, ElementName=hexBox}" Width="12" Height="12" Margin="0,0,2,0" />
    	<c1:C1HexColorBox x:Name="hexBox" Grid.Column="1" TextWrapping="Wrap" ShowSharpPrefix="True" BorderThickness="0" />
    </Grid>
</UserControl>