<UserControl x:Class="Translumo.Controls.ColorSelectionControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <DockPanel>
        <StackPanel Orientation="Horizontal" DockPanel.Dock="Top" Margin="0,-6,0,20">
            <Button Content="{materialDesign:PackIcon KeyboardBackspace}" Style="{StaticResource FlatLeftButton}" Click="btnCancel_Click"/>
            <Label Name="lCaption" Style="{StaticResource PanelCaptionLabel}"></Label>
        </StackPanel>
        <materialDesign:ColorPicker Name="cpWindowColor" Height="261" HorizontalAlignment="Stretch" DockPanel.Dock="Top" VerticalAlignment="Top"/>
        <Button Name="BtnApply" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" Content="{DynamicResource Str.Button.Apply}" Style="{StaticResource OutlinedBottomButton}" Click="btnApply_Click"></Button>
    </DockPanel>
</UserControl>
