<UserControl x:Class="MultiLayout.UiModule.MenuMotion"
             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:MultiLayout.UiModule"
             xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
             mc:Ignorable="d" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <Style TargetType="Button" x:Key="ButtonStyle_icon" BasedOn="{StaticResource ButtonStyle_empty}">
                <Style.Resources>
                    <Style TargetType="TextBlock" >
                        <Setter Property="TextAlignment" Value="Center"/>
                        <Setter Property="FontSize" Value="12"/>
                        <Setter Property="FontFamily" Value="YouYuan"/>
                        <Setter Property="Margin" Value="3"/>
                        <Setter Property="FontWeight" Value="Bold"/>
                        <Setter Property="HorizontalAlignment" Value="Center"/>
                    </Style>
                    <Style TargetType="iconPacks:PackIconMaterial" >
                        <Setter Property="Height" Value="36"/>
                        <Setter Property="Width" Value="36"/>
                        <Setter Property="SnapsToDevicePixels" Value="True"/>
                        <Setter Property="HorizontalAlignment" Value="Center"/>
                    </Style>
                </Style.Resources>
                <Style.Setters>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="Margin" Value="10"/>
                </Style.Setters>
            </Style>
        </ResourceDictionary>


    </UserControl.Resources>
    <StackPanel>
        <Button Style="{StaticResource ButtonStyle_icon}">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="Settings" />
                <TextBlock Text="参数" />
            </StackPanel>
        </Button>

        <Button Style="{StaticResource ButtonStyle_icon}">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="ClipboardText" />
                <TextBlock Text="产品" />
            </StackPanel>
        </Button>

        <Button Style="{StaticResource ButtonStyle_icon}">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="TumblrReblog" />
                <TextBlock Text="扫描" />
            </StackPanel>
        </Button>

        <Button Style="{StaticResource ButtonStyle_icon}" Foreground="Red">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="CloseCircle" />
                <TextBlock Text="停止"/>
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="Adjust" />
                <TextBlock Text="归零" />
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}">
            <StackPanel>
                <iconPacks:PackIconMaterial Kind="ArrowRightBoldCircle" />
                <TextBlock Text="正行" />
            </StackPanel>
        </Button>
        <Button Style="{StaticResource ButtonStyle_icon}">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="ArrowLeftBoldCircle" />
                <TextBlock Text="反行" />
            </StackPanel>
        </Button>
    </StackPanel>
</UserControl>
