<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:SugarUISolid"
                    >

    <Style x:Key="ButtonStyle_white" TargetType="{x:Type Button}">
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="#FF12543A"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Padding" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}" >
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="6"/>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="6"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="3"/>
                        </Grid.RowDefinitions>
                        <Rectangle x:Name="body_1" Visibility="Hidden" Fill="#FFE4E4E4" Grid.Row="1" Grid.Column="1" Grid.RowSpan="2"/>
                        <Rectangle x:Name="body_2" Fill="#FFE4E4E4" Grid.ColumnSpan="3" Grid.RowSpan="2"/>
                        <Path x:Name="shadow_1" Data="M0,0 L100,100 L100,0 z" Fill="#FF12543A" Grid.Row="2" Stretch="Fill"/>
                        <Rectangle x:Name="shadow_2" Fill="#FF12543A" Grid.Row="2" Grid.Column="1"/>
                        <Path x:Name="shadow_3" Data="M0,0 L-100,100 L-100,0 z" Fill="#FF12543A" Grid.Row="2" Grid.Column="2" Stretch="Fill"/>
                        <ContentPresenter x:Name="content" Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Grid.ColumnSpan="3"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
								Margin="{TemplateBinding Padding}" 
								RecognizesAccessKey="True" 
								SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" 
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsKeyboardFocused" Value="true">
                        </Trigger>
                        <Trigger Property="ToggleButton.IsChecked" Value="true">
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="#ADADAD"/>
                            <Setter TargetName="body_2" Property="Fill" Value="#FF929292"/>
                            <Setter TargetName="shadow_1" Property="Fill" Value="#FF555656"/>
                            <Setter TargetName="shadow_2" Property="Fill" Value="#FF555656"/>
                            <Setter TargetName="shadow_3" Property="Fill" Value="#FF555656"/>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="body_2" Property="Visibility" Value="Hidden"/>
                            <Setter TargetName="body_1" Property="Visibility" Value="Visible"/>
                            <Setter TargetName="shadow_1" Property="Visibility" Value="Hidden"/>
                            <Setter TargetName="shadow_2" Property="Visibility" Value="Hidden"/>
                            <Setter TargetName="shadow_3" Property="Visibility" Value="Hidden"/>
                            <Setter TargetName="content" Property="Grid.Row" Value="1"/>
                            <Setter TargetName="content" Property="Grid.Column" Value="1"/>
                            <Setter TargetName="content" Property="Grid.RowSpan" Value="1"/>
                            <Setter TargetName="content" Property="Grid.ColumnSpan" Value="1"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>