终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

66 行
3.9 KiB

  1. <Application
  2. x:Class="BPASmartClient.JXJFoodBigStation.App"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:con="clr-namespace:BPASmartClient.CustomResource.Converters;assembly=BPASmartClient.CustomResource"
  6. xmlns:local="clr-namespace:BPASmartClient.JXJFoodBigStation">
  7. <Application.Resources>
  8. <ResourceDictionary>
  9. <ResourceDictionary.MergedDictionaries>
  10. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/RecCheckBox.xaml" />
  11. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/RecTitleBarButton.xaml" />
  12. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/GlobalStyle.xaml" />
  13. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/RecComboBox.xaml" />
  14. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/RecIcoButtonStyle.xaml" />
  15. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/RecToggleButton.xaml" />
  16. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/BeveledRadioButtonStyle.xaml" />
  17. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/DatePickeerDictionary.xaml" />
  18. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/RecDictionarys/RecButtonStyle.xaml" />
  19. <ResourceDictionary>
  20. <con:ColorConverter x:Key="ColorConverter" />
  21. <con:TextConverter x:Key="TextConverter" />
  22. <con:VisibleTypeConverter x:Key="VisibleTypeConverter" />
  23. <con:StatusConverter x:Key="StatusConverter" />
  24. <con:StringToIconConverter x:Key="StringToIconConverter" />
  25. </ResourceDictionary>
  26. <ResourceDictionary>
  27. <ImageBrush x:Key="hbl" ImageSource="/BPASmartClient.CustomResource;component/Image/HBL.png" />
  28. <ImageBrush x:Key="dbxt" ImageSource="/BPASmartClient.CustomResource;component/Image/顶部线条.png" />
  29. </ResourceDictionary>
  30. </ResourceDictionary.MergedDictionaries>
  31. <Style x:Key="ListBoxGroupStyle" TargetType="GroupItem">
  32. <Setter Property="Template">
  33. <Setter.Value>
  34. <ControlTemplate TargetType="{x:Type GroupItem}">
  35. <Expander ExpandDirection="Down" IsExpanded="True">
  36. <Expander.Header>
  37. <StackPanel Margin="5,10" Orientation="Horizontal">
  38. <TextBlock
  39. VerticalAlignment="Center"
  40. FontSize="14"
  41. Foreground="White"
  42. Text="{Binding Path=Name}" />
  43. <TextBlock
  44. Margin="5,0,0,0"
  45. VerticalAlignment="Center"
  46. FontSize="14"
  47. Foreground="White"
  48. Text="{Binding Path=ItemCount, StringFormat=数量:{0}个}" />
  49. </StackPanel>
  50. </Expander.Header>
  51. <ItemsPresenter />
  52. </Expander>
  53. </ControlTemplate>
  54. </Setter.Value>
  55. </Setter>
  56. </Style>
  57. </ResourceDictionary>
  58. </Application.Resources>
  59. </Application>