| | |
| | | xmlns:pu="https://opensource.panuon.com/wpf-ui" |
| | | xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI" |
| | | Loaded="UserControl_Loaded" |
| | | Background="{StaticResource WorkspaceBackground}" |
| | | Background="{DynamicResource WorkspaceBackground}" |
| | | d:DesignHeight="450" d:DesignWidth="800"> |
| | | <UserControl.Resources> |
| | | <ResourceDictionary> |
| | |
| | | </ResourceDictionary.MergedDictionaries> |
| | | |
| | | <Style TargetType="GroupBox" BasedOn="{StaticResource {x:Static pu:StyleKeys.GroupBoxStyle}}"> |
| | | <Setter Property="pu:GroupBoxHelper.HeaderBackground" Value="{StaticResource ReHoriBar}"/> |
| | | <Setter Property="pu:GroupBoxHelper.HeaderForeground" Value="{StaticResource PrimaryColorContract}"/> |
| | | <Setter Property="pu:GroupBoxHelper.HeaderBackground" Value="{DynamicResource ReHoriBar}"/> |
| | | <Setter Property="pu:GroupBoxHelper.HeaderForeground" Value="{DynamicResource PrimaryColorContract}"/> |
| | | <Setter Property="pu:GroupBoxHelper.HeaderFontWeight" Value="Bold"/> |
| | | </Style> |
| | | </ResourceDictionary> |
| | |
| | | <Setter Property="Cursor" Value="Hand"/> |
| | | <Setter Property="FontWeight" Value="Bold"/> |
| | | |
| | | <Setter Property="Background" Value="{StaticResource PrimaryColor}"/> |
| | | <Setter Property="Background" Value="{DynamicResource PrimaryColor}"/> |
| | | <Setter Property="Template"> |
| | | <Setter.Value> |
| | | <ControlTemplate TargetType="ListBoxItem"> |
| | |
| | | <ControlTemplate.Triggers> |
| | | <Trigger Property="IsSelected" Value="True"> |
| | | <Setter Property="Background" TargetName="border" |
| | | Value="{StaticResource ReHoriBar}"/> |
| | | Value="{DynamicResource ReHoriBar}"/> |
| | | <Setter Property="Foreground" Value="White"/> |
| | | </Trigger> |
| | | |
| | | <Trigger Property="IsMouseOver" Value="True"> |
| | | <Setter TargetName="border" Property="Background" Value="#7093d3" /> |
| | | <Setter Property="Foreground" Value="{StaticResource SecondPrimaryColorContract}" /> |
| | | <Setter Property="Foreground" Value="{DynamicResource SecondPrimaryColorContract}" /> |
| | | </Trigger> |
| | | </ControlTemplate.Triggers> |
| | | </ControlTemplate> |