MenuProfile.xaml 1.19 KB
Newer Older
1
<UserControl x:Class="FLY.Thick.Base.UI.UiModule.MenuProfile"
2 3 4 5 6 7 8 9
             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>
10 11
            <SolidColorBrush x:Key="IconBrush" Color="{StaticResource Colors.Text.White}" />
            <SolidColorBrush x:Key="TextBrush" Color="{StaticResource Colors.Text.White}" />
12 13 14
        </ResourceDictionary>
    </UserControl.Resources>
    <StackPanel>
15
        <Button Style="{StaticResource Styles.Button.Icon}" Foreground="{StaticResource IconBrush}" 
16 17 18
                Click="btnProfileClick">
            <StackPanel >
                <iconPacks:PackIconMaterial Kind="ClipboardText" />
19
                <TextBlock Text="{StaticResource str.Menu.Craft}" Foreground="{StaticResource TextBrush}"/>
20 21 22 23
            </StackPanel>
        </Button>
    </StackPanel>
</UserControl>