<UserControl x:Class="FLY.Weight.UI.Client.UIModule.MenuSelect"
             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:FLY.Weight.UI.Client.UIModule"
             mc:Ignorable="d" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.Resources>
            <ResourceDictionary>
                <Style TargetType="{x:Type Button}" BasedOn="{StaticResource ButtonStyle_empty}">
                    <Setter Property="Margin" Value="10"/>
                </Style>
                <Style TargetType="{x:Type Path}">
                    <Setter Property="Height" Value="36"/>
                    <Setter Property="Width" Value="36"/>
                    <Setter Property="Stretch" Value="Fill"/>
                    <Setter Property="SnapsToDevicePixels" Value="True"/>
                    <Setter Property="Fill" Value="White"/>
                </Style>
                <Style TargetType="{x:Type TextBlock}">
                    <Setter Property="Foreground" Value="White"/>
                    <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"/>
                </Style>
            </ResourceDictionary>
        </Grid.Resources>
        <Button Click="button_menu_click">
            <StackPanel >
                <Path Data="{StaticResource Geometry_hopper}" />
                <TextBlock Text="称重" />
            </StackPanel>
        </Button>
    </Grid>
</UserControl>