1. Nuget 패키지 설치
- MaterialDesignThemes
- MaterialDesignColors
2. MainWindow.xaml
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes
3. App.xaml
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme BaseTheme="???" PrimaryColor="???" SecondaryColor="???" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
'Language > C#' 카테고리의 다른 글
[C#] Thread (0) | 2023.01.25 |
---|---|
[C#] 숫자 쉼표 넣기 (0) | 2023.01.18 |
[C#/WPF] Contents 줄바꿈 (0) | 2023.01.13 |
[C#/WPF] Resources 이미지 사용 (0) | 2023.01.09 |
[C#/WPF] Border 그림자 효과 사용 (0) | 2023.01.02 |