1039 lines
64 KiB
XML
1039 lines
64 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:OmagOFFICE="clr-namespace:OmagOFFICE"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
xmlns:EgtPHOTOLib="clr-namespace:EgtPHOTOLib;assembly=EgtPHOTOLib"
|
|
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5">
|
|
|
|
<!--
|
|
Assign a Key to every Panel ViewModel to use
|
|
it in xaml file(ProjectView.xaml).
|
|
-->
|
|
<OmagOFFICE:MainWindowVM x:Key="MainWindowVM"/>
|
|
<OmagOFFICE:MySceneHostVM x:Key="MySceneHostVM"/>
|
|
<OmagOFFICE:TopCommandBarVM x:Key="TopCommandBarVM"/>
|
|
<EgtWPFLib5:StatusBarVM x:Key="StatusBarVM"/>
|
|
<OmagOFFICE:ProjectVM x:Key="ProjectVM"/>
|
|
<EgtWPFLib5:ShowPanelVM x:Key="ShowPanelVM"/>
|
|
<EgtWPFLib5:ViewPanelVM x:Key="ViewPanelVM"/>
|
|
<EgtWPFLib5:InstrumentPanelVM x:Key="InstrumentPanelVM"/>
|
|
<OmagOFFICE:PrintPanelVM x:Key="PrintPanelVM"/>
|
|
<OmagOFFICE:MyMachinePanelVM x:Key="MachinePanelVM"/>
|
|
<OmagOFFICE:VeinMatchPanelVM x:Key="VeinMatchPanelVM"/>
|
|
<OmagOFFICE:OptionPanelVM x:Key="OptionPanelVM"/>
|
|
<OmagOFFICE:RawPartTabVM x:Key="RawPartTabVM"/>
|
|
<OmagOFFICE:NestingTabVM x:Key="NestingTabVM"/>
|
|
<OmagOFFICE:MachiningTabVM x:Key="MachiningTabVM"/>
|
|
<OmagOFFICE:SimulTabVM x:Key="SimulTabVM"/>
|
|
<OmagOFFICE:MyMachGroupPanelVM x:Key="MachGroupPanelVM"/>
|
|
|
|
<EgtPHOTOLib:ProjectSlabVM x:Key="ProjectSlabVM"/>
|
|
<EgtPHOTOLib:OptionPanelSlabVM x:Key="OptionPanelSlabVM"/>
|
|
<EgtPHOTOLib:ListPageSlabVM x:Key="ListPageSlabVM"/>
|
|
<EgtPHOTOLib:DetailPageSlabVM x:Key="DetailPageSlabVM"/>
|
|
<EgtPHOTOLib:SearchPanelSlabVM x:Key="SearchPanelSlabVM"/>
|
|
<EgtPHOTOLib:MyInstrumentPanelSlabVM x:Key="MyInstrumentPanelSlabVM"/>
|
|
|
|
<!--Colori predefiniti-->
|
|
<SolidColorBrush x:Key="Omag_Blue" Color="#FF095CA8" />
|
|
<SolidColorBrush x:Key="Omag_Yellow_ORIG" Color="#FFFFCE5B" />
|
|
<SolidColorBrush x:Key="Omag_Yellow" Color="#FEBE00" />
|
|
<SolidColorBrush x:Key="Omag_Red" Color="Red" />
|
|
<SolidColorBrush x:Key="Omag_Green" Color="LawnGreen" />
|
|
<SolidColorBrush x:Key="Omag_VeryLightGray" Color="#FFF2F2F2" />
|
|
<SolidColorBrush x:Key="Omag_LightGray" Color="LightGray" />
|
|
<SolidColorBrush x:Key="Omag_Gray" Color="#FF9E9E9E" />
|
|
<SolidColorBrush x:Key="Omag_DarkGray" Color="#484D55" />
|
|
<SolidColorBrush x:Key="Omag_White" Color="#FFFFFFFF" />
|
|
<SolidColorBrush x:Key="Omag_Black" Color="#1C1D22" />
|
|
|
|
<Thickness x:Key="BorderBtn_Thickness">0</Thickness>
|
|
<Thickness x:Key="BorderGpBx_Thickness">0.25</Thickness>
|
|
<Thickness x:Key="BorderBrd_Thickness">0.5</Thickness>
|
|
|
|
<Style x:Key="MyStyleStringParam" TargetType="{x:Type EgtWPFLib5:StringParamV}" BasedOn="{StaticResource {x:Type EgtWPFLib5:StringParamV}}">
|
|
<Setter Property="ForegroundParamTxBl" Value="White"/>
|
|
</Style>
|
|
|
|
<!--Colori per EgtWPFLib5-->
|
|
<!-- ____________________________________ EGT TEXTBOX ____________________________________ -->
|
|
<!--Definizione colori per UserControl EgtTextBox-->
|
|
<!--Colore dello sfondo del border quando è attiva la TextBox-->
|
|
<SolidColorBrush x:Key="BackgroundBorderEnableFText" Color="#FF444444" />
|
|
<!--Colore dello sfondo del border quando non è attiva la TextBox-->
|
|
<SolidColorBrush x:Key="BackgroundBorderEnableTText" Color="#FF000000" />
|
|
|
|
<!--Colore del contorno quando il Mouse è sopra la TextBox-->
|
|
<LinearGradientBrush x:Key="BrushBorderIsMouseOverTText" EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
|
|
<GradientStop Color="#484D55" Offset="0.05"/>
|
|
<GradientStop Color="#1C1D22" Offset="0.07"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--Colore del contorno quandodi default la TextBox-->
|
|
<LinearGradientBrush x:Key="BrushBorderIsMouseOverFText" EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
|
|
<GradientStop Color="#484D55" Offset="0.07"/>
|
|
<GradientStop Color="#1C1D22" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--Colore dello sfondo quando non è abilitata la TextBox-->
|
|
<SolidColorBrush x:Key="BackgroundTextBlockIsEnableFText" Color="#FF444444" />
|
|
<!--Colore dello sfondo quando è abilitata la TextBox-->
|
|
<SolidColorBrush x:Key="BackgroundTextBlockIsEnableTText" Color="#FF000000" />
|
|
<!--Colore della scritta quando non è selezioonata, ma è attiva la TextBox -->
|
|
<SolidColorBrush x:Key="ForegroundTextBlockIsEnableTText" Color="White" />
|
|
<!--Colore della scritta quando non è attiva la TextBox -->
|
|
<SolidColorBrush x:Key="ForegroundTextBlockIsEnableFText" Color="LightGray" />
|
|
<!--Colore della scritta quando seleziono la TextBox-->
|
|
<SolidColorBrush x:Key="ForegroundTextBoxText" Color="White" />
|
|
<!-- ____________________________________ EGT TEXTBOX ____________________________________ -->
|
|
|
|
<!--Colori per TabHeader-->
|
|
<LinearGradientBrush x:Key="TabItem.Static.Background" EndPoint="0,1" StartPoint="0,0">
|
|
<GradientStop Color="#F0F0F0" Offset="0.0"/>
|
|
<GradientStop Color="#E5E5E5" Offset="1.0"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--Risorsa che toglie le animazioni dai menù popup per evitare che i menù mru di scelta dei file rimangano aperti se il file è grosso -->
|
|
<!--o viene eseguito un lua che non aggiorna l'interfaccia-->
|
|
<PopupAnimation x:Key="{x:Static SystemParameters.MenuPopupAnimationKey}">None</PopupAnimation>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- FocusVisual standard-->
|
|
<Style x:Key="FocusVisual">
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- Button Style -->
|
|
|
|
<SolidColorBrush x:Key="Button.Static.Background" Color="#FFDDDDDD"/>
|
|
<SolidColorBrush x:Key="Button.Static.Border" Color="#FF707070"/>
|
|
<SolidColorBrush x:Key="Button.MouseOver.Background" Color="#FFBEE6FD"/>
|
|
<SolidColorBrush x:Key="Button.MouseOver.Border" Color="#FF3C7FB1"/>
|
|
<SolidColorBrush x:Key="Button.Pressed.Background" Color="#FFC4E5F6"/>
|
|
<SolidColorBrush x:Key="Button.Pressed.Border" Color="#FF2C628B"/>
|
|
<SolidColorBrush x:Key="Button.Disabled.Background" Color="#FFF4F4F4"/>
|
|
<SolidColorBrush x:Key="Button.Disabled.Border" Color="#FFADB2B5"/>
|
|
<SolidColorBrush x:Key="Button.Disabled.Foreground" Color="#FF838383"/>
|
|
<Style TargetType="{x:Type Button}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="{StaticResource Button.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border" CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource Omag_Blue}" />
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
<Setter Property="BorderBrush" Value="#E1B957"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--Template che permette di andare a capo-->
|
|
<DataTemplate x:Key="WrapButton_DataTemplate">
|
|
<TextBlock TextWrapping="WrapWithOverflow" Text="{Binding}"/>
|
|
</DataTemplate>
|
|
|
|
<Style x:Key="TopCmdBar_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border" CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolBar_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border" CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ToolBar_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="80"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}" />
|
|
</Style>
|
|
<Style x:Key="OptionPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Width" Value="40"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border" CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="OptionPanelRaw_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
<Style x:Key="MachiningTab_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="42"/>
|
|
<Setter Property="Width" Value="42"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Split_Button_Img" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="42"/>
|
|
<Setter Property="Width" Value="42"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border" CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="Nest_Button_Img" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="45"/>
|
|
<Setter Property="Width" Value="45"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Simul_Button_Img" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SimulPanel_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_TextWrapButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="ContentTemplate" Value="{StaticResource WrapButton_DataTemplate}" />
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="45"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_NestingButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DrawImport_NestingButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_MoveButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="55"/>
|
|
<Setter Property="Width" Value="55"/>
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CompoWindow_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="40"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
</Style>
|
|
<Style x:Key="EgtWPFLib5_InputButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="60"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- ToggleButton Style -->
|
|
|
|
<Style TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="#636974"/>
|
|
<Setter Property="BorderBrush" Value="#636974"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="border" CornerRadius="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="Button.IsDefaulted" Value="true">
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" Value="#008BFF"/>
|
|
<Setter Property="BorderBrush" Value="#008BFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" Value="#E1B957"/>
|
|
<Setter Property="BorderBrush" Value="#E1B957"/>
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="ToggleButton.Background" Value="{StaticResource Omag_Blue}" />
|
|
<Setter Property="ToggleButton.BorderBrush" Value="{StaticResource Omag_Blue}" />
|
|
<Setter Property="ToggleButton.Foreground" Value="{StaticResource Omag_Yellow}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<!--<Setter Property="ToggleButton.Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="ToggleButton.BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="ToggleButton.Foreground" Value="#FF838383"/>-->
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolBar_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolBar_TextToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="70"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
</Style>
|
|
<Style x:Key="OptionPanelRaw_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Split_ToggleButton_Img" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="42"/>
|
|
<Setter Property="Width" Value="42"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Nest_ToggleButton_Img" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="45"/>
|
|
<Setter Property="Width" Value="45"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_ToggleWrapButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="45"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionPanel_NestingToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DrawImport_NestingToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CompoWindow_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="40"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CompoWindow_WrapToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="ContentTemplate" Value="{StaticResource WrapButton_DataTemplate}" />
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center" />
|
|
<Setter Property="Height" Value="40"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Option_ColorButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Padding" Value="5"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="#FFB8C3CD"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter Property="OpacityMask" Value="#33FF0000"/>
|
|
</Trigger>
|
|
<Trigger Property="ToggleButton.IsChecked" Value="True">
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" Value="#FFADB2B5"/>
|
|
<Setter Property="TextElement.Foreground" Value="#FF838383"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- TextBlock -->
|
|
<Style x:Key="RawTextBlock" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Margin" Value="0,0,0,0"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SimulTextBlock" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolsTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningsTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningsToolTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Margin" Value="10,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ValidationErrorTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="FontStyle" Value="Italic"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="0,1"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- TextBox -->
|
|
|
|
<Style TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Right"/>
|
|
<Setter Property="ExplicitUpdateSource" Value="EnterKeyPress"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolsTextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningsTextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Margin" Value="0,0,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningsToolTextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptionTextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EstimateTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="IsReadOnly" Value="true"/>
|
|
<Setter Property="TextAlignment" Value="Right"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AxisTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="Background" Value="#2D3036"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="IsReadOnly" Value="True"/>
|
|
<Setter Property="IsEnabled" Value="False"/>
|
|
<Setter Property="TextAlignment" Value="Right"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- MachGroup -->
|
|
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Background" Color="#F0F0F0"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Border" Color="#F0F0F0"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Glyph" Color="#FFFFFF"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Glyph" Color="#000000"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Disabled.Glyph" Color="#BFBFBF"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Glyph" Color="#606060"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Background" Color="#DADADA"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Border" Color="#DADADA"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Background" Color="#606060"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Border" Color="#606060"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Disabled.Background" Color="#F0F0F0"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Disabled.Border" Color="#F0F0F0"/>
|
|
<Style x:Key="CustomScrollBarButton" TargetType="{x:Type RepeatButton}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Focusable" Value="false"/>
|
|
<Setter Property="IsTabStop" Value="false"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type RepeatButton}">
|
|
<Border x:Name="border" CornerRadius="3" BorderBrush="{StaticResource ScrollBar.Static.Border}" BorderThickness="1" Background="{StaticResource ScrollBar.Static.Background}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource ScrollBar.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource ScrollBar.MouseOver.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource ScrollBar.Pressed.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource ScrollBar.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource ScrollBar.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource ScrollBar.Disabled.Border}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- Border -->
|
|
|
|
<Style x:Key="DefaultBorder" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBrd_Thickness}"/>
|
|
<Setter Property="CornerRadius" Value="3"/>
|
|
<Setter Property="Padding" Value="3"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBrd_Thickness}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="CornerRadius" Value="3"/>
|
|
<Setter Property="Padding" Value="3"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BorderSplit" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBrd_Thickness}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="CornerRadius" Value="3"/>
|
|
<Setter Property="Padding" Value="3"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- EgtCustomWindow -->
|
|
|
|
<Style TargetType="{x:Type EgtWPFLib5:EgtCustomWindow}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtCustomWindow}}">
|
|
<Setter Property="TitleBarHeight" Value="32"/>
|
|
<!--<Setter Property="TitleBarBrush" Value="{StaticResource Omag_LightGray}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
|
<Setter Property="Background" Value ="{StaticResource Omag_DarkGray}"/>
|
|
<Setter Property="TitleBarForeground" Value="{StaticResource Omag_White}" />
|
|
<Setter Property="TitleBarBrush" Value="{StaticResource BrushBorderIsMouseOverTText}" />
|
|
<Setter Property="BorderBrush" Value="Transparent" />
|
|
</Style>
|
|
|
|
<Style x:Key="MainWindowStyle" TargetType="{x:Type EgtWPFLib5:EgtCustomWindow}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtCustomWindow}}">
|
|
<Setter Property="TitleBarHeight" Value="32"/>
|
|
<!--<Setter Property="TitleBarBrush" Value="{StaticResource Omag_LightGray}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
|
<Setter Property="Background" Value ="{StaticResource Omag_DarkGray}"/>
|
|
<Setter Property="TitleBarForeground" Value="{StaticResource Omag_White}" />
|
|
<Setter Property="TitleBarBrush" Value="{StaticResource Omag_DarkGray}" />
|
|
<Setter Property="BorderBrush" Value="Transparent" />
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- EgtFloatingPanel -->
|
|
|
|
<Style x:Key="ToolBar_EgtFloatingPanel" TargetType="{x:Type EgtFloating:EgtFloatingPanel}" BasedOn="{StaticResource {x:Type EgtFloating:EgtFloatingPanel}}">
|
|
<!--<Setter Property="Background" Value="{StaticResource Omag_Gray}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Machine_EgtFloatingPanel" TargetType="{x:Type EgtFloating:EgtFloatingPanel}" BasedOn="{StaticResource {x:Type EgtFloating:EgtFloatingPanel}}">
|
|
<!--<Setter Property="Background" Value="{StaticResource Omag_Gray}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_Gray}"/>-->
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Option_EgtFloatingPanel" TargetType="{x:Type EgtFloating:EgtFloatingPanel}" BasedOn="{StaticResource {x:Type EgtFloating:EgtFloatingPanel}}">
|
|
<Setter Property="IsToolBar" Value="False"/>
|
|
<Setter Property="TitleBarOrientation" Value="Vertical"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_DarkGray}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- CsvTreeViewItem DA CAMBIARE!! -->
|
|
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.Static.Checked.Fill" Color="#FF595959"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.Static.Checked.Stroke" Color="#FF262626"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.MouseOver.Stroke" Color="#FF1BBBFA"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.MouseOver.Fill" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.MouseOver.Checked.Stroke" Color="#FF262626"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.MouseOver.Checked.Fill" Color="#FF595959"/>
|
|
<PathGeometry x:Key="TreeArrow" Figures="M0,0 L0,6 L6,0 z"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.Static.Fill" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="TreeViewItem.TreeArrow.Static.Stroke" Color="#FF989898"/>
|
|
<Style x:Key="ExpandCollapseToggleStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Focusable" Value="False"/>
|
|
<Setter Property="Width" Value="16"/>
|
|
<Setter Property="Height" Value="16"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Background="Transparent" Height="16" Padding="5,5,5,5" Width="16">
|
|
<Path x:Name="ExpandPath" Data="{StaticResource TreeArrow}" Fill="{StaticResource TreeViewItem.TreeArrow.Static.Fill}" Stroke="{StaticResource TreeViewItem.TreeArrow.Static.Stroke}">
|
|
<Path.RenderTransform>
|
|
<RotateTransform Angle="135" CenterY="3" CenterX="3"/>
|
|
</Path.RenderTransform>
|
|
</Path>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="RenderTransform" TargetName="ExpandPath">
|
|
<Setter.Value>
|
|
<RotateTransform Angle="180" CenterY="3" CenterX="3"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="Fill" TargetName="ExpandPath" Value="{StaticResource TreeViewItem.TreeArrow.Static.Checked.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="ExpandPath" Value="{StaticResource TreeViewItem.TreeArrow.Static.Checked.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Stroke" TargetName="ExpandPath" Value="{StaticResource TreeViewItem.TreeArrow.MouseOver.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="ExpandPath" Value="{StaticResource TreeViewItem.TreeArrow.MouseOver.Fill}"/>
|
|
</Trigger>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="IsMouseOver" Value="True"/>
|
|
<Condition Property="IsChecked" Value="True"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="Stroke" TargetName="ExpandPath" Value="{StaticResource TreeViewItem.TreeArrow.MouseOver.Checked.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="ExpandPath" Value="{StaticResource TreeViewItem.TreeArrow.MouseOver.Checked.Fill}"/>
|
|
</MultiTrigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="CsvPartItemStyle" TargetType="{x:Type TreeViewItem}">
|
|
<Setter Property="IsSelected" Value="{Binding IsSelected}" />
|
|
<Setter Property="IsExpanded" Value="{Binding IsExpanded}" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TreeViewItem}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition MinWidth="19" Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Border x:Name="ExpanderBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
|
|
<ToggleButton x:Name="Expander" ClickMode="Press" IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource TemplatedParent}}" Style="{StaticResource ExpandCollapseToggleStyle}"/>
|
|
</Border>
|
|
<Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Column="1" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="PART_Header" ContentSource="Header" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</Border>
|
|
<ItemsPresenter x:Name="ItemsHost" Grid.ColumnSpan="2" Grid.Column="1" Grid.Row="1"/>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsExpanded" Value="false">
|
|
<Setter Property="Visibility" TargetName="ItemsHost" Value="Collapsed"/>
|
|
</Trigger>
|
|
<Trigger Property="HasItems" Value="false">
|
|
<Setter Property="Visibility" TargetName="Expander" Value="Hidden"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="true">
|
|
<Setter Property="Background" TargetName="Bd" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
<Setter Property="BorderThickness" TargetName="Bd" Value="0,1,1,1"/>
|
|
<Setter Property="Background" TargetName="ExpanderBorder" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" TargetName="ExpanderBorder" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
<Setter Property="BorderThickness" TargetName="ExpanderBorder" Value="1,1,0,1"/>
|
|
<!--<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>-->
|
|
</Trigger>
|
|
<!--<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="IsSelected" Value="true"/>
|
|
<Condition Property="IsSelectionActive" Value="false"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
</MultiTrigger>-->
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- ComboBox -->
|
|
|
|
<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
|
|
<GradientStop Color="#F3F3F3" Offset="0"/>
|
|
<GradientStop Color="#EBEBEB" Offset="0.5"/>
|
|
<GradientStop Color="#DDDDDD" Offset="0.5"/>
|
|
<GradientStop Color="#CDCDCD" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
|
|
<LinearGradientBrush x:Key="TextBoxBorder" EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
|
|
<GradientStop Color="#ABADB3" Offset="0.05"/>
|
|
<GradientStop Color="#E2E3EA" Offset="0.07"/>
|
|
<GradientStop Color="#E3E9EF" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<Style x:Key="ComboBoxFocusVisual">
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<Rectangle Margin="4,4,21,4" StrokeDashArray="1 2" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" SnapsToDevicePixels="true" StrokeThickness="1"/>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Geometry x:Key="DownArrowGeometry">M 0 0 L 3.5 4 L 7 0 Z</Geometry>
|
|
<Style x:Key="ComboBoxReadonlyToggleButton" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/>
|
|
<Setter Property="IsTabStop" Value="false"/>
|
|
<Setter Property="Focusable" Value="false"/>
|
|
<Setter Property="ClickMode" Value="Press"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="Chrome" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" SnapsToDevicePixels="true" BorderThickness="{TemplateBinding BorderThickness}">
|
|
<Grid HorizontalAlignment="Right" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
|
|
<Path x:Name="Arrow" Data="{StaticResource DownArrowGeometry}" Fill="White" HorizontalAlignment="Center" Margin="3,1,0,0" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Fill" TargetName="Arrow" Value="#AFAFAF"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/>
|
|
<Setter Property="IsTabStop" Value="false"/>
|
|
<Setter Property="Focusable" Value="false"/>
|
|
<Setter Property="ClickMode" Value="Press"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="Chrome" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" SnapsToDevicePixels="true" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
|
|
<Path x:Name="Arrow" Data="{StaticResource DownArrowGeometry}" Fill="White" HorizontalAlignment="Center" Margin="0,1,0,0" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Fill" TargetName="Arrow" Value="#AFAFAF"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type ComboBox}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource ComboBoxFocusVisual}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"/>
|
|
<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="Padding" Value="4,3"/>
|
|
<Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
|
|
<Setter Property="ScrollViewer.PanningMode" Value="Both"/>
|
|
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ComboBox}">
|
|
<Grid x:Name="MainGrid" SnapsToDevicePixels="true">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" Width="0"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Popup x:Name="PART_Popup" AllowsTransparency="true" Grid.ColumnSpan="2" IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" Margin="1" Placement="Bottom" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" Width="{Binding ActualWidth, ElementName=MainGrid}" >
|
|
<Border x:Name="DropDownBorder" Background="{TemplateBinding Background}" BorderBrush="{DynamicResource {x:Static SystemColors.WindowFrameBrushKey}}" BorderThickness="{TemplateBinding BorderThickness}">
|
|
<ScrollViewer x:Name="DropDownScrollViewer">
|
|
<Grid RenderOptions.ClearTypeHint="Enabled">
|
|
<Canvas HorizontalAlignment="Left" Height="0" VerticalAlignment="Top" Width="0">
|
|
<Rectangle x:Name="OpaqueRect" Fill="{Binding Background, ElementName=DropDownBorder}" Height="{Binding ActualHeight, ElementName=DropDownBorder}" Width="{Binding ActualWidth, ElementName=DropDownBorder}"/>
|
|
</Canvas>
|
|
<ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Contained" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</Popup>
|
|
<ToggleButton Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Grid.ColumnSpan="2" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Style="{StaticResource ComboBoxReadonlyToggleButton}"/>
|
|
<ContentPresenter ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" Content="{TemplateBinding SelectionBoxItem}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="false" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="HasItems" Value="false">
|
|
<Setter Property="Height" TargetName="DropDownBorder" Value="95"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
<Setter Property="Background" Value="#FFF4F4F4"/>
|
|
</Trigger>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="IsGrouping" Value="true"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
|
|
</MultiTrigger>
|
|
<Trigger Property="ScrollViewer.CanContentScroll" SourceName="DropDownScrollViewer" Value="false">
|
|
<Setter Property="Canvas.Top" TargetName="OpaqueRect" Value="{Binding VerticalOffset, ElementName=DropDownScrollViewer}"/>
|
|
<Setter Property="Canvas.Left" TargetName="OpaqueRect" Value="{Binding HorizontalOffset, ElementName=DropDownScrollViewer}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="Raw_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30" />
|
|
<Setter Property="Width" Value="Auto" />
|
|
</Style>
|
|
|
|
<Style x:Key="OptionWnd_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Background" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderBtn_Thickness}"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30" />
|
|
<Setter Property="Width" Value="Auto" />
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningsComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Margin" Value="0,0,0,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningsToolComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- CheckBox -->
|
|
|
|
<Style x:Key="OptionCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- TabControl -->
|
|
|
|
<Style x:Key="TabControlOptinPanel" TargetType="{x:Type TabControl}" >
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="TabItemOptinPanel" TargetType="{x:Type TabItem}" >
|
|
<Setter Property="Width" Value="44"/>
|
|
<Setter Property="Height" Value="44"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TabItem}">
|
|
<Grid>
|
|
<Border Name="border" Margin="1,0,0,0" BorderThickness="0" CornerRadius="0"
|
|
Background="{StaticResource Omag_DarkGray}"
|
|
BorderBrush="{StaticResource Omag_Gray}">
|
|
<ContentPresenter x:Name="contentPresenter" VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
ContentSource="Header" RecognizesAccessKey="True"/>
|
|
</Border>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" TargetName="border" Value="#FFF4F4F4"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="#FFADB2B5"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="True">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Omag_Black}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Omag_Black}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Omag_Blue}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Omag_Gray}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- ImageButton -->
|
|
<Style x:Key="ImgButton" TargetType="{x:Type Image}" >
|
|
<Setter Property="Height" Value="35"/>
|
|
<Setter Property="Width" Value="35"/>
|
|
<Setter Property="Margin" Value="0,2,0,0"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!-- GroupBox -->
|
|
<Style x:Key="GroupBoxSplit" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderGpBx_Thickness}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Margin" Value="0,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GroupBoxRow" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderGpBx_Thickness}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Margin" Value="0,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GroupBoxOptionWnd" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="BorderThickness" Value="{StaticResource BorderGpBx_Thickness}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
|
|
<Setter Property="Margin" Value="0,0,0,0"/>
|
|
</Style>
|
|
|
|
</ResourceDictionary>
|