MahAPP

sz L·2023년 4월 21일
0

WPF

목록 보기
3/9
post-thumbnail
post-custom-banner

MahApps.Metro.Demo-v2.4.9-rc0002.zip
IconPacks.Browser-net47-v1.0.0.zip

설치 후


저장하고 바탕화면에 바로가기


참조 오른쪽 마우스 -> NuGet패키지 관리

MahApps.Metro , MahApps.Metro.IconPacks 설치


MahApps.Metro - Quick Start



아이콘을 쓰고싶으면 저 부분을 복사해서

<mah:MetroWindow 
    x:Class="wp07_mahApp.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
    xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
    xmlns:local="clr-namespace:wp07_mahApp"
    mc:Ignorable="d"
    Title="MainWindow" Height="450" Width="800" ResizeMode="NoResize">
    <mah:MetroWindow.LeftWindowCommands>
        <mah:WindowCommands>
            <Button ToolTip="Github site">
                <iconPacks:PackIconModern Kind="SocialGithubOctocat" />
            </Button>
        </mah:WindowCommands>
    </mah:MetroWindow.LeftWindowCommands>
    
    <Grid>
        <Button Content="Click" Width="100" Height="50" />

    </Grid>
</mah:MetroWindow>

profile
가랑비는 맞는다 하지만 폭풍은 내 것이야
post-custom-banner

0개의 댓글