添加项目文件。
This commit is contained in:
46
SamplePreSystemApp/App.xaml
Normal file
46
SamplePreSystemApp/App.xaml
Normal file
@@ -0,0 +1,46 @@
|
||||
<Application
|
||||
x:Class="SamplePreSystemApp.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:SamplePreSystemApp"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
StartupUri="AppMainView.xaml">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
|
||||
|
||||
<materialDesign:BundledTheme
|
||||
BaseTheme="Light"
|
||||
PrimaryColor="Blue"
|
||||
SecondaryColor="Lime" />
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />
|
||||
|
||||
|
||||
<ResourceDictionary Source="pack://application:,,,/SamplePreSystem.UI;component/Styles/BaseButtonStyle.xaml" />
|
||||
<!--<ResourceDictionary Source="/Styles/BaseDataGrid.xaml" />-->
|
||||
<ResourceDictionary Source="pack://application:,,,/SamplePreSystem.UI;component/Styles/BaseDataGrid.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/SamplePreSystem.UI;component/Styles/BaseWindowStyle.xaml" />
|
||||
|
||||
|
||||
|
||||
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Window.xaml" />
|
||||
|
||||
|
||||
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
|
||||
|
||||
<!-- ✅ 全局设置:表格表头样式 -->
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="Background" Value="#F5F5F5" />
|
||||
<Setter Property="Foreground" Value="#333333" />
|
||||
<Setter Property="Height" Value="32" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
Reference in New Issue
Block a user