|
1 |
| -<Application x:Class="WPFDevelopers.Samples.App" |
2 |
| - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
| - xmlns:ws="https://github.com/WPFDevelopersOrg/WPFDevelopers" |
5 |
| - xmlns:avalonedit="http://icsharpcode.net/sharpdevelop/avalonedit" |
6 |
| - StartupUri="ExampleViews\MainWindow.xaml" ShutdownMode="OnMainWindowClose"> |
| 1 | +<Application |
| 2 | + x:Class="WPFDevelopers.Samples.App" |
| 3 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 5 | + xmlns:avalonedit="http://icsharpcode.net/sharpdevelop/avalonedit" |
| 6 | + xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers" |
| 7 | + ShutdownMode="OnMainWindowClose" |
| 8 | + StartupUri="ExampleViews\MainWindow.xaml"> |
7 | 9 | <Application.Resources>
|
8 | 10 | <ResourceDictionary>
|
9 | 11 | <ResourceDictionary.MergedDictionaries>
|
10 |
| - <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Light.Blue.xaml"/> |
11 |
| - <!--需要注意ws:Resources 必须再配色主题后,Theme="Dark" 为黑色皮肤--> |
12 |
| - <ws:Resources Theme="Light"/> |
13 |
| - <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml"/> |
14 |
| - <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/ExampleViews/LoginWindow/Generic.xaml"/> |
15 |
| - <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/CodeViewer/CodeViewer.xaml"/> |
| 12 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Light.Blue.xaml" /> |
| 13 | + <!-- 需要注意ws:Resources 必须再配色主题后,Theme="Dark" 为黑色皮肤 --> |
| 14 | + <wd:Resources Theme="Light" /> |
| 15 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml" /> |
| 16 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/ExampleViews/LoginWindow/Generic.xaml" /> |
| 17 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/CodeViewer/CodeViewer.xaml" /> |
| 18 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/TimeLine/TimeLine.xaml" /> |
| 19 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/Drawing/Drawing.xaml" /> |
| 20 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/Others/OtherControl.xaml" /> |
| 21 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/ChatEmoji/ChatEmoji.xaml" /> |
| 22 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/RoundPicker/RoundPicker.xaml" /> |
| 23 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/CutImage/CutImage.xaml" /> |
| 24 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/Dashboard/Dashboard.xaml" /> |
| 25 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/PieControl/PieControl.xaml" /> |
| 26 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/Prize/PrizeItemControl.xaml" /> |
| 27 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/RainbowButtons/RainbowButtons.xaml" /> |
| 28 | + <ResourceDictionary Source="pack://application:,,,/WPFDevelopers.Samples;component/Controls/SnowCanvas/SnowCanvas.xaml" /> |
16 | 29 | </ResourceDictionary.MergedDictionaries>
|
17 | 30 | <Style TargetType="avalonedit:TextEditor">
|
18 |
| - <Setter Property="Foreground" Value="{DynamicResource WD.PrimaryTextSolidColorBrush}"/> |
19 |
| - <Setter Property="Background" Value="{DynamicResource WD.BackgroundSolidColorBrush}"/> |
| 31 | + <Setter Property="Foreground" Value="{DynamicResource WD.PrimaryTextSolidColorBrush}" /> |
| 32 | + <Setter Property="Background" Value="{DynamicResource WD.BackgroundSolidColorBrush}" /> |
20 | 33 | </Style>
|
21 | 34 | </ResourceDictionary>
|
22 | 35 | </Application.Resources>
|
|
0 commit comments