static/dynamic resource

This commit is contained in:
2023-06-20 17:09:16 +09:00
parent 0f0a0b1074
commit e60506aaf7
7 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<Application x:Class="ResourceSample.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ResourceSample"
StartupUri="MainWindow.xaml">
<Application.Resources>
<SolidColorBrush x:Key="CustomRed" Color="#e3533d"/>
</Application.Resources>
</Application>