App.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Application x:Class="Yunda.SOMS.DataMonitoringServer.Viewport.App"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:Yunda.SOMS.DataMonitoringServer.Viewport"
  5. xmlns:materialDesignConverters="clr-namespace:Yunda.SOMS.DataMonitoringServer.Viewport.Domain.Converters"
  6. StartupUri="MainWindow.xaml">
  7. <Application.Resources>
  8. <ResourceDictionary>
  9. <ResourceDictionary.MergedDictionaries>
  10. <ResourceDictionary Source="./Domain/Theme/ProcessBarAm.xaml" />
  11. <ResourceDictionary Source="./Domain/Theme/TabDictionary.xaml" />
  12. <ResourceDictionary Source="./Domain/Theme/ButtonDictionary.xaml" />
  13. <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.DialogHost.xaml" />
  14. <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
  15. <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
  16. </ResourceDictionary.MergedDictionaries>
  17. <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
  18. <materialDesignConverters:BooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible" />
  19. <materialDesignConverters:BoolNegate x:Key="BoolNegateConverter" TrueValue="False" FalseValue="True" />
  20. <materialDesignConverters:BoolPositive x:Key="BoolPositiveConverter" TrueValue="True" FalseValue="False" />
  21. <materialDesignConverters:IntToRecoderLevel x:Key="IntToRecoderLevelConverter" />
  22. <materialDesignConverters:BooleanToVisibilityConverter x:Key="InvertedBooleanConverter" TrueValue="Collapsed" FalseValue="Visible" />
  23. <LinearGradientBrush x:Key="SkyBrush" StartPoint="0 0" EndPoint="0 1">
  24. <GradientStop Color="#2196F3" Offset="0" />
  25. <GradientStop Color="#2196F3" Offset=".6" />
  26. <GradientStop Color="#00E676" Offset=".6" />
  27. <GradientStop Color="#00E676" Offset="1" />
  28. </LinearGradientBrush>
  29. <SolidColorBrush x:Key="WheatColor" Color="#f3f3f4" />
  30. <SolidColorBrush x:Key="StartButtonBacground" Color="AliceBlue" />
  31. </ResourceDictionary>
  32. </Application.Resources>
  33. </Application>