<Window x:Class="ChooseColor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
    FontFamily="{DynamicResource OmagCut_Font}"
    Title="OpenFile" Height="682.6" Width="682.6" WindowStyle="None" ResizeMode="NoResize" ShowInTaskbar="False" AllowsTransparency="True" Background="Transparent">

    <Border Style="{DynamicResource OmagCut_Border}">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.5*"/>
                <ColumnDefinition Width="4*"/>
                <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="0.5*"/>
                <RowDefinition Height="0.5*"/>
                <RowDefinition Height="5.5*"/>
                <RowDefinition Height="0.5*"/>
                <RowDefinition Height="3*"/>
                <RowDefinition Height="0.5*"/>
            </Grid.RowDefinitions>

            <Grid Grid.Column="1" Grid.Row="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>

                <Button Name="Color1Btn" Grid.Row="0" Grid.Column="0" Style="{StaticResource OmagCut_Button}" Background="White"/>
                <Button Name="Color2Btn" Grid.Row="0" Grid.Column="1" Style="{StaticResource OmagCut_Button}" Background="BlanchedAlmond" />
                <Button Name="Color3Btn" Grid.Row="0" Grid.Column="2" Style="{StaticResource OmagCut_Button}" Background="Orange"/>
                <Button Name="Color4Btn" Grid.Row="0" Grid.Column="3" Style="{StaticResource OmagCut_Button}" Background="LightPink"/>
                <Button Name="Color5Btn" Grid.Row="0" Grid.Column="4" Style="{StaticResource OmagCut_Button}" Background="Cyan"/>
                <Button Name="Color6Btn" Grid.Row="0" Grid.Column="5" Style="{StaticResource OmagCut_Button}" Background="GreenYellow"/>
                <Button Name="Color7Btn" Grid.Row="1" Grid.Column="0" Style="{StaticResource OmagCut_Button}" Background="Honeydew"/>
                <Button Name="Color8Btn" Grid.Row="1" Grid.Column="1" Style="{StaticResource OmagCut_Button}" Background="NavajoWhite"/>
                <Button Name="Color9Btn" Grid.Row="1" Grid.Column="2" Style="{StaticResource OmagCut_Button}" Background="Coral"/>
                <Button Name="Color10Btn" Grid.Row="1" Grid.Column="3" Style="{StaticResource OmagCut_Button}" Background="Orchid"/>
                <Button Name="Color11Btn" Grid.Row="1" Grid.Column="4" Style="{StaticResource OmagCut_Button}" Background="SkyBlue"/>
                <Button Name="Color12Btn" Grid.Row="1" Grid.Column="5" Style="{StaticResource OmagCut_Button}" Background="Chartreuse"/>
                <Button Name="Color13Btn" Grid.Row="2" Grid.Column="0" Style="{StaticResource OmagCut_Button}" Background="Silver"/>
                <Button Name="Color14Btn" Grid.Row="2" Grid.Column="1" Style="{StaticResource OmagCut_Button}" Background="Khaki"/>
                <Button Name="Color15Btn" Grid.Row="2" Grid.Column="2" Style="{StaticResource OmagCut_Button}" Background="Red"/>
                <Button Name="Color16Btn" Grid.Row="2" Grid.Column="3" Style="{StaticResource OmagCut_Button}" Background="Fuchsia"/>
                <Button Name="Color17Btn" Grid.Row="2" Grid.Column="4" Style="{StaticResource OmagCut_Button}" Background="DodgerBlue"/>
                <Button Name="Color18Btn" Grid.Row="2" Grid.Column="5" Style="{StaticResource OmagCut_Button}" Background="SpringGreen"/>
                <Button Name="Color19Btn" Grid.Row="3" Grid.Column="0" Style="{StaticResource OmagCut_Button}" Background="Gray"/>
                <Button Name="Color20Btn" Grid.Row="3" Grid.Column="1" Style="{StaticResource OmagCut_Button}" Background="Yellow"/>
                <Button Name="Color21Btn" Grid.Row="3" Grid.Column="2" Style="{StaticResource OmagCut_Button}" Background="Crimson"/>
                <Button Name="Color22Btn" Grid.Row="3" Grid.Column="3" Style="{StaticResource OmagCut_Button}" Background="Purple"/>
                <Button Name="Color23Btn" Grid.Row="3" Grid.Column="4" Style="{StaticResource OmagCut_Button}" Background="Blue"/>
                <Button Name="Color24Btn" Grid.Row="3" Grid.Column="5" Style="{StaticResource OmagCut_Button}" Background="LightSeaGreen"/>
                <Button Name="Color25Btn" Grid.Row="4" Grid.Column="0" Style="{StaticResource OmagCut_Button}" Background="Black"/>
                <Button Name="Color26Btn" Grid.Row="4" Grid.Column="1" Style="{StaticResource OmagCut_Button}" Background="Gold"/>
                <Button Name="Color27Btn" Grid.Row="4" Grid.Column="2" Style="{StaticResource OmagCut_Button}" Background="Brown"/>
                <Button Name="Color28Btn" Grid.Row="4" Grid.Column="3" Style="{StaticResource OmagCut_Button}" Background="Indigo"/>
                <Button Name="Color29Btn" Grid.Row="4" Grid.Column="4" Style="{StaticResource OmagCut_Button}" Background="SlateBlue"/>
                <Button Name="Color30Btn" Grid.Row="4" Grid.Column="5" Style="{StaticResource OmagCut_Button}" Background="Green"/>
            </Grid>


            <Grid Grid.Column="1" Grid.Row="4">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>

                <TextBlock Name="RMsgTxBl" Grid.Column="0" Grid.Row="0" 
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <EgtWPFLib:EgtTextBox Name="RTxBx" Grid.Column="1" Grid.Row="0" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <TextBlock Name="GMsgTxBl" Grid.Column="2" Grid.Row="0" 
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <EgtWPFLib:EgtTextBox Name="GTxBx" Grid.Column="3" Grid.Row="0" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <TextBlock Name="BMsgTxBl" Grid.Column="4" Grid.Row="0" 
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />

                <EgtWPFLib:EgtTextBox Name="BTxBx" Grid.Column="5" Grid.Row="0" Margin="10,0,10,0"
                     Style="{DynamicResource OmagCut_CalculatorTextBox}" />

                <Button Name="SelectedColorBtn" Grid.Row="0" Grid.Column="7"
                Style="{StaticResource OmagCut_Button}" />

                <Grid Grid.ColumnSpan="8" Grid.Row="4">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="0.5*"/>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="1*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="1*"/>
                    </Grid.RowDefinitions>

                    <Button Name="OkBtn" Grid.Row="0" Grid.Column="1" Style="{DynamicResource OmagCut_GradientBlueIconButton}" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Image Source="{DynamicResource VImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                    </Button>
                    <Button Name="ExitBtn" Grid.Row="0" Grid.Column="3" Style="{DynamicResource OmagCut_GradientBlueIconButton}" IsCancel="True" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Image Source="{DynamicResource XImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                    </Button>
                </Grid>
           
            </Grid>

        </Grid>

    </Border>

</Window>
