| | |
| | | xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI" |
| | | xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"> |
| | | <ResourceDictionary.MergedDictionaries> |
| | | <pu:StyleDictionary Includes="PasswordBox,TextBox,ComboBox,Button,TreeView,Menu,ListBox,ContextMenu,TabControl" /> |
| | | <pu:StyleDictionary Includes="PasswordBox,TextBox,ComboBox,Button,TreeView,ListBox" /> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/PanuonDataGrid.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/ScrollBarResource.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Resources/Font/Font.xaml"/> |
| | |
| | | </Style> |
| | | |
| | | <Style x:Key="CommonMenu" TargetType="Menu" BasedOn="{StaticResource {x:Static pu:StyleKeys.MenuStyle}}"> |
| | | <Style.Resources> |
| | | <ResourceDictionary> |
| | | <ResourceDictionary.MergedDictionaries> |
| | | <pu:StyleDictionary Includes="Menu" /> |
| | | </ResourceDictionary.MergedDictionaries> |
| | | </ResourceDictionary> |
| | | </Style.Resources> |
| | | <Setter Property="Background" Value="{DynamicResource PrimaryColor}"/> |
| | | <Setter Property="Foreground" Value="#FFF"/> |
| | | <Setter Property="pu:IconHelper.FontFamily" Value="{StaticResource iconfont}"/> |
| | |
| | | <Setter Property="pu:WindowXModalDialog.OKButtonContent" |
| | | Value="{DynamicResource App.Save}"/> |
| | | <Setter Property="pu:WindowXModalDialog.ButtonPanelMargin" Value="0,30,10,10"/> |
| | | <Setter Property="InteropOwnersMask" Value="False"/> |
| | | </Style> |
| | | |
| | | <Style x:Key="DefaultListBox" TargetType="ListBox" BasedOn="{StaticResource {x:Static pu:StyleKeys.ListBoxStyle}}"> |
| | |
| | | </Setter.Value> |
| | | </Setter> |
| | | </Style> |
| | | |
| | | <Style x:Key="DefaultPageItem" TargetType="pu:PaginationItem"> |
| | | <Setter Property="Cursor" Value="Hand" /> |
| | | <Setter Property="MinWidth" Value="30" /> |
| | | <Setter Property="Width" Value="Auto" /> |
| | | <Setter Property="Width" Value="Auto" /> |
| | | </Style> |
| | | |
| | | <Style x:Key="DefaultPage" TargetType="pu:Pagination"> |
| | | <Setter Property="Height" Value="30"/> |
| | | <Setter Property="HorizontalAlignment" Value="Right"/> |
| | | <Setter Property="Foreground" Value="Black" /> |
| | | <Setter Property="ItemsBackground" Value="Transparent"/> |
| | | <Setter Property="ItemsCornerRadius" Value="12"/> |
| | | <Setter Property="ItemsSelectedBackground" Value="{DynamicResource SecondPrimaryColor}"/> |
| | | <Setter Property="ItemContainerStyle" Value="{StaticResource DefaultPageItem}"/> |
| | | </Style> |
| | | |
| | | </ResourceDictionary> |