<UserControl x:Class="FasdDesktopUi.Basics.UserControls.MultiButton"
       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:local="clr-namespace:FasdDesktopUi.Basics.UserControls"
       xmlns:sys="clr-namespace:System;assembly=mscorlib"
       xmlns:uc="clr-namespace:FasdDesktopUi.Basics.UserControls"
       xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
       xmlns:vc="clr-namespace:FasdDesktopUi.Basics.Converter"
       x:Name="MultiButtons"
       mc:Ignorable="d"
    >
    <StackPanel Orientation="Horizontal" x:Name="ButtonPanel" x:FieldModifier="private" Grid.IsSharedSizeScope="True">
        <StackPanel.Resources>
            <Style TargetType="Border">
                <Setter Property="CornerRadius"
				    Value="5"/>
                <Setter Property="BorderThickness"
				    Value="0"/>
                <Setter Property="Background"
				    Value="{DynamicResource Color.AppBackground}"/>
                <Setter Property="Margin"
				    Value="10 0 10 0"/>
                <Setter Property="Cursor"
				    Value="Hand"/>
                <EventSetter Event="MouseLeftButtonUp"
				       Handler="DialogButton_MouseLeftButtonUp"/>
                <EventSetter Event="TouchDown"
				       Handler="DialogButton_TouchDown"/>
                <Style.Triggers>
                    <Trigger Property="IsMouseOver"
                             Value="True">
                        <Setter Property="Background"
                                Value="{DynamicResource BackgroundColor.Menu.MainCategory}" />
                    </Trigger>
                </Style.Triggers>
            </Style>
            <Style TargetType="TextBlock">
                <Setter Property="Foreground"
                    Value="{DynamicResource FontColor.Menu.Categories}"/>
                <Setter Property="HorizontalAlignment"
				    Value="Stretch"/>
                <Setter Property="VerticalAlignment"
				    Value="Center"/>
                <Setter Property="TextAlignment"
				    Value="Center"/>
                <Setter Property="FontWeight"
				    Value="Bold"/>
                <Setter Property="Padding"
				    Value="15 10 15 10"/>
                <Style.Triggers>
                    <Trigger Property="IsMouseOver"
							     Value="True">
                        <Setter Property="Foreground"
								    Value="{DynamicResource Color.FunctionMarker}"/>
                    </Trigger>
                    <Trigger Property="IsMouseOver"
							    Value="False">
                        <Setter Property="Foreground"
								Value="{DynamicResource FontColor.Menu.Categories}"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
        </StackPanel.Resources>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition SharedSizeGroup="ButtonStack"/>
            </Grid.ColumnDefinitions>
            <Border BorderBrush="Black">
                <TextBlock Text="Abschließen &amp; dokumentieren"/>
            </Border>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition SharedSizeGroup="ButtonStack"/>
            </Grid.ColumnDefinitions>
            <Border>
                <TextBlock Text="Beenden ohne Dokumentation" />
            </Border>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition SharedSizeGroup="ButtonStack"/>
            </Grid.ColumnDefinitions>
            <Border>
                <TextBlock Text="Weiter bearbeiten" />
            </Border>
        </Grid>
    </StackPanel>
</UserControl>
