MenuSetting.xaml 1.15 KB
Newer Older
1
<UserControl x:Class="FLY.Thick.Base.UI.UiModule.MenuSetting"
2 3 4 5 6 7 8 9 10 11 12 13 14 15
             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:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
             mc:Ignorable="d" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel>
16
        <Button Style="{StaticResource Styles.Button.Icon}" Foreground="White" 
17 18
                Click="btnProfileClick">
            <StackPanel >
19
                <iconPacks:PackIconMaterial Kind="Cog" />
20 21 22 23 24
                <TextBlock Text="设置" Foreground="White"/>
            </StackPanel>
        </Button>
    </StackPanel>
</UserControl>