e13aceda26
-modifica letttura parametri generali in btl info e pezzo -sistemato pulsante auto warehouse
3410 lines
189 KiB
XML
3410 lines
189 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core"
|
|
xmlns:EgwWPFBaseLib="clr-namespace:EgwWPFBaseLib;assembly=EgwWPFBaseLib"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5">
|
|
|
|
<EgwWPFBaseLib:CaptionHeightConverter x:Key="CaptionHeightConverter"/>
|
|
<EgtWPFLib5:HexClipConverter x:Key="ClipConverter"/>
|
|
|
|
<!--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>
|
|
|
|
<!--#region Colori Predefiniti-->
|
|
|
|
<!--#FFFFFF-->
|
|
<Color x:Key="BeamWall_White_Color" R="255" G="255" B="255" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_White" Color="{StaticResource BeamWall_White_Color}" />
|
|
|
|
<!--#F2F2F2-->
|
|
<Color x:Key="BeamWall_Concrete_Color" R="242" G="242" B="242" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Concrete" Color="{StaticResource BeamWall_Concrete_Color}" />
|
|
|
|
<!--#00008B-->
|
|
<Color x:Key="BeamWall_DarkBlue_Color" R="0" G="0" B="139" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_DarkBlue" Color="{StaticResource BeamWall_DarkBlue_Color}" />
|
|
|
|
<!--#444444-->
|
|
<Color x:Key="BeamWall_DarkGray_Color" R="68" G="68" B="68" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_DarkGray" Color="{StaticResource BeamWall_DarkGray_Color}" />
|
|
|
|
<!--#00FFFF-->
|
|
<Color x:Key="BeamWall_Aqua_Color" R="0" G="255" B="255" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Aqua" Color="{StaticResource BeamWall_Aqua_Color}" />
|
|
|
|
<!--#095CA8-->
|
|
<Color x:Key="BeamWall_Blue_Color" R="9" G="92" B="168" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Blue" Color="{StaticResource BeamWall_Blue_Color}" />
|
|
|
|
<!--#838383-->
|
|
<Color x:Key="BeamWall_Gray_Color" R="131" G="131" B="131" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Gray" Color="{StaticResource BeamWall_Gray_Color}" />
|
|
|
|
<!--#000000-->
|
|
<Color x:Key="BeamWall_Black_Color" R="0" G="0" B="0" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Black" Color="{StaticResource BeamWall_Black_Color}" />
|
|
|
|
<!--#FFD700-->
|
|
<Color x:Key="BeamWall_Gold_Color" R="255" G="215" B="0" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Gold" Color="{StaticResource BeamWall_Gold_Color}" />
|
|
|
|
<!--#FFCE5B-->
|
|
<Color x:Key="BeamWall_GoldenTainoi_Color" R="255" G="206" B="91" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_GoldenTainoi" Color="{StaticResource BeamWall_GoldenTainoi_Color}" />
|
|
|
|
<!--#FF0000-->
|
|
<Color x:Key="BeamWall_Red_Color" R="255" G="0" B="0" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Red" Color="{StaticResource BeamWall_Red_Color}" />
|
|
|
|
<!--#7CFC00-->
|
|
<Color x:Key="BeamWall_Chartreuse_Color" R="124" G="252" B="0" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Chartreuse" Color="{StaticResource BeamWall_Chartreuse_Color}" />
|
|
|
|
<!--#D9D9D9-->
|
|
<Color x:Key="BeamWall_Alto_Color" R="217" G="217" B="217" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Alto" Color="{StaticResource BeamWall_Alto_Color}" />
|
|
|
|
<!--#4D84C4-->
|
|
<Color x:Key="BeamWall_Indigo_Color" R="77" G="132" B="196" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Indigo" Color="{StaticResource BeamWall_Indigo_Color}" />
|
|
|
|
<!--#8F00FF-->
|
|
<Color x:Key="BeamWall_ElectricViolet_Color" R="143" G="0" B="255" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_ElectricViolet" Color="{StaticResource BeamWall_ElectricViolet_Color}" />
|
|
|
|
<!--#FFA500-->
|
|
<Color x:Key="BeamWall_Orange_Color" R="255" G="165" B="0" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Orange" Color="{StaticResource BeamWall_Orange_Color}" />
|
|
|
|
<!--#endregion Colori Predefiniti-->
|
|
|
|
<!--#region Colori Nuova Grafica-->
|
|
|
|
<!--#E6E6E6-->
|
|
<Color x:Key="BeamWall_Mercury_Color" R="230" G="230" B="230" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Mercury" Color="{StaticResource BeamWall_Mercury_Color}" />
|
|
|
|
<!--#F3F7FB-->
|
|
<Color x:Key="BeamWall_BLackSqueeze_Color" R="243" G="247" B="251" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_BLackSqueeze" Color="{StaticResource BeamWall_BLackSqueeze_Color}" />
|
|
|
|
<!--#EBF4FC-->
|
|
<Color x:Key="BeamWall_Selago_Color" R="235" G="244" B="252" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Selago" Color="{StaticResource BeamWall_Selago_Color}" />
|
|
|
|
<!--#F4F5F7-->
|
|
<Color x:Key="BeamWall_AthensGray_Color" R="244" G="245" B="247" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_AthensGray" Color="{StaticResource BeamWall_AthensGray_Color}" />
|
|
|
|
<!--#F4F4F4-->
|
|
<Color x:Key="BeamWall_WildSand_Color" R="244" G="244" B="244" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_WildSand" Color="{StaticResource BeamWall_WildSand_Color}" />
|
|
|
|
<!--#D7E7F4-->
|
|
<Color x:Key="BeamWall_LinkWater_Color" R="215" G="231" B="244" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_LinkWater" Color="{StaticResource BeamWall_LinkWater_Color}" />
|
|
|
|
<!--#A5C5E1-->
|
|
<Color x:Key="BeamWall_RegentStBlue_Color" R="165" G="197" B="225" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_RegentStBlue" Color="{StaticResource BeamWall_RegentStBlue_Color}" />
|
|
|
|
<!--#749FC4-->
|
|
<Color x:Key="BeamWall_Glacier_Color" R="116" G="159" B="196" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Glacier" Color="{StaticResource BeamWall_Glacier_Color}" />
|
|
|
|
<!--#49678D-->
|
|
<Color x:Key="BeamWall_Kashmir_Color" R="73" G="103" B="141" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Kashmir" Color="{StaticResource BeamWall_Kashmir_Color}" />
|
|
|
|
<!--#63CCCC-->
|
|
<Color x:Key="BeamWall_Downy_Color" R="99" G="204" B="204" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Downy" Color="{StaticResource BeamWall_Downy_Color}" />
|
|
|
|
<!--#5EC5C4-->
|
|
<Color x:Key="BeamWall_FountainBlue_Color" R="94" G="197" B="196" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_FountainBlue" Color="{StaticResource BeamWall_FountainBlue_Color}" />
|
|
|
|
<!--#40ADAD-->
|
|
<Color x:Key="BeamWall_Keppel_Color" R="64" G="173" B="173" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Keppel" Color="{StaticResource BeamWall_Keppel_Color}" />
|
|
|
|
<!--#488F63-->
|
|
<Color x:Key="BeamWall_FruitSalad_Color" R="72" G="143" B="99" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_FruitSalad" Color="{StaticResource BeamWall_FruitSalad_Color}" />
|
|
|
|
<!--#009090-->
|
|
<Color x:Key="BeamWall_Teal_Color" R="0" G="144" B="144" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Teal" Color="{StaticResource BeamWall_Teal_Color}" />
|
|
|
|
<!--#EAAE2E-->
|
|
<Color x:Key="BeamWall_FuelYellow_Color" R="234" G="174" B="46" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_FuelYellow" Color="{StaticResource BeamWall_FuelYellow_Color}" />
|
|
|
|
<!--#FFAA42-->
|
|
<Color x:Key="BeamWall_YellowOrange_Color" R="255" G="170" B="66" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_YellowOrange" Color="{StaticResource BeamWall_YellowOrange_Color}" />
|
|
|
|
<!--#EB720E-->
|
|
<Color x:Key="BeamWall_Christine_Color" R="235" G="114" B="14" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Christine" Color="{StaticResource BeamWall_Christine_Color}" />
|
|
|
|
<!--#F48A3F-->
|
|
<Color x:Key="BeamWall_Jaffa_Color" R="244" G="138" B="63" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Jaffa" Color="{StaticResource BeamWall_Jaffa_Color}" />
|
|
|
|
<!--#FF9A3C-->
|
|
<Color x:Key="BeamWall_NeonCarrot_Color" R="255" G="154" B="60" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_NeonCarrot" Color="{StaticResource BeamWall_NeonCarrot_Color}" />
|
|
|
|
<!--#FFB153-->
|
|
<Color x:Key="BeamWall_TexasRose_Color" R="255" G="177" B="83" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_TexasRose" Color="{StaticResource BeamWall_TexasRose_Color}" />
|
|
|
|
<!--#656666-->
|
|
<Color x:Key="BeamWall_Corduroy_Color" R="101" G="102" B="102" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Corduroy" Color="{StaticResource BeamWall_Corduroy_Color}" />
|
|
|
|
<!--#ABADB3-->
|
|
<Color x:Key="BeamWall_Bombay_Color" R="171" G="173" B="179" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Bombay" Color="{StaticResource BeamWall_Bombay_Color}" />
|
|
|
|
<!--#7EB4EA-->
|
|
<Color x:Key="BeamWall_Seagull_Color" R="126" G="180" B="234" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Seagull" Color="{StaticResource BeamWall_Seagull_Color}" />
|
|
|
|
<!--#DCECFC-->
|
|
<Color x:Key="BeamWall_HawkesBlue_Color" R="220" G="236" B="252" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_HawkesBlue" Color="{StaticResource BeamWall_HawkesBlue_Color}" />
|
|
|
|
<!--#569DE5-->
|
|
<Color x:Key="BeamWall_CornflowerBlue_Color" R="86" G="157" B="229" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_CornflowerBlue" Color="{StaticResource BeamWall_CornflowerBlue_Color}" />
|
|
|
|
<!--#C4E0FC-->
|
|
<Color x:Key="BeamWall_FrenchPass_Color" R="196" G="224" B="252" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_FrenchPass" Color="{StaticResource BeamWall_FrenchPass_Color}" />
|
|
|
|
<!--#BFBFBF-->
|
|
<Color x:Key="BeamWall_Silver_Color" R="191" G="191" B="191" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Silver" Color="{StaticResource BeamWall_Silver_Color}" />
|
|
|
|
<!--#707070-->
|
|
<Color x:Key="BeamWall_DoveGray_Color" R="112" G="112" B="112" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_DoveGray" Color="{StaticResource BeamWall_DoveGray_Color}" />
|
|
|
|
<!--#3C7FB1-->
|
|
<Color x:Key="BeamWall_BostonBlue_Color" R="60" G="127" B="177" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_BostonBlue" Color="{StaticResource BeamWall_BostonBlue_Color}" />
|
|
|
|
<!--#C4E5F6-->
|
|
<Color x:Key="BeamWall_TropicalBlue_Color" R="196" G="229" B="246" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_TropicalBlue" Color="{StaticResource BeamWall_TropicalBlue_Color}" />
|
|
|
|
<!--#2C628B-->
|
|
<Color x:Key="BeamWall_Calypso_Color" R="44" G="98" B="139" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Calypso" Color="{StaticResource BeamWall_Calypso_Color}" />
|
|
|
|
<!--#F3F9FF-->
|
|
<Color x:Key="BeamWall_AliceBlue_Color" R="243" G="249" B="255" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_AliceBlue" Color="{StaticResource BeamWall_AliceBlue_Color}" />
|
|
|
|
<!--#D9ECFF-->
|
|
<Color x:Key="BeamWall_PattensBlue_Color" R="217" G="236" B="255" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_PattensBlue" Color="{StaticResource BeamWall_PattensBlue_Color}" />
|
|
|
|
<!--#F0F0F0-->
|
|
<Color x:Key="BeamWall_Gallery_Color" R="240" G="240" B="240" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Gallery" Color="{StaticResource BeamWall_Gallery_Color}" />
|
|
|
|
<!--#D5DFE5-->
|
|
<Color x:Key="BeamWall_Geyser_Color" R="213" G="223" B="229" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Geyser" Color="{StaticResource BeamWall_Geyser_Color}" />
|
|
|
|
<!--#AFC5D6-->
|
|
<Color x:Key="BeamWall_Casper_Color" R="175" G="197" B="214" A="255"/>
|
|
<SolidColorBrush x:Key="BeamWall_Casper" Color="{StaticResource BeamWall_Casper_Color}" />
|
|
|
|
<LinearGradientBrush x:Key="Optimizer.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.65"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--#endregion Colori Nuova Grafica-->
|
|
|
|
<!--#region Colori per EgtWPFLib5-->
|
|
|
|
<SolidColorBrush x:Key="TextBox.Static.Border" Color="{StaticResource BeamWall_Bombay_Color}"/>
|
|
|
|
<!--#endregion Colori per EgtWPFLib5-->
|
|
|
|
<!--#region Colori Button-->
|
|
|
|
<SolidColorBrush x:Key="ButtonBasic.Static.Background" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.Static.Border" Color="{StaticResource BeamWall_DoveGray_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.MouseOver.Background" Color="{StaticResource BeamWall_FrenchPass_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.MouseOver.Border" Color="{StaticResource BeamWall_BostonBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.Pressed.Background" Color="{StaticResource BeamWall_TropicalBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.Pressed.Border" Color="{StaticResource BeamWall_Calypso_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.Disabled.Background" Color="{StaticResource BeamWall_WildSand_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.Disabled.Border" Color="{StaticResource BeamWall_Bombay_Color}"/>
|
|
<SolidColorBrush x:Key="ButtonBasic.Disabled.Foreground" Color="{StaticResource BeamWall_Gray_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Button.Static.Background" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="Button.Static.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="Button.Static.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="Button.MouseOver.Background" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Button.MouseOver.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Button.Pressed.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Button.Pressed.Border" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Button.Disabled.Background" Color="{StaticResource BeamWall_Glacier_Color}" Opacity="0.5"/>
|
|
<SolidColorBrush x:Key="Button.Disabled.Border" Color="{StaticResource BeamWall_Glacier_Color}" Opacity="0.5"/>
|
|
<SolidColorBrush x:Key="Button.Disabled.Foreground" Color="{StaticResource BeamWall_White_Color}" Opacity="0.5"/>
|
|
|
|
<SolidColorBrush x:Key="Button.TitleBar.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<LinearGradientBrush x:Key="Button.MainMenu.Background" EndPoint="0.5,1" StartPoint="0.5,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Kashmir_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Glacier_Color}" Offset="0.65"/>
|
|
<GradientStop Color="{StaticResource BeamWall_RegentStBlue_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="Button.MainMenu.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Button.General.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Button.PrManagerNew.Background" Color="Transparent"/>
|
|
|
|
<!--#endregion Colori Button-->
|
|
|
|
<!--#region Colori ScrollBar-->
|
|
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Glyph" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Static.Thumb" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Background" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Glyph" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.MouseOver.Thumb" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Background" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Thumb" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Pressed.Glyph" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Disabled.Background" Color="{StaticResource BeamWall_LinkWater_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Disabled.Border" Color="{StaticResource BeamWall_LinkWater_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Disabled.Glyph" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="ScrollBar.Button.Static.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<!--#endregion Colori ScrollBar-->
|
|
|
|
<!--#region Colori ComboBox-->
|
|
|
|
<SolidColorBrush x:Key="ComboBox.Static.Background" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Glyph" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Editable.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Editable.Border" Color="{StaticResource BeamWall_Bombay_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Editable.Button.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ComboBox.Static.Editable.Button.Border" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ComboBox.MouseOver.Background" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.MouseOver.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.MouseOver.Glyph" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Border" Color="{StaticResource BeamWall_Seagull_Color}"/>
|
|
<LinearGradientBrush x:Key="ComboBox.MouseOver.Editable.Button.Background" EndPoint="0,1" StartPoint="0,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Selago_Color}" Offset="0.0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_HawkesBlue_Color}" Offset="1.0"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Button.Border" Color="{StaticResource BeamWall_Seagull_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Pressed.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Pressed.Border" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Pressed.Glyph" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Pressed.Editable.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Pressed.Editable.Border" Color="{StaticResource BeamWall_CornflowerBlue_Color}"/>
|
|
<LinearGradientBrush x:Key="ComboBox.Pressed.Editable.Button.Background" EndPoint="0,1" StartPoint="0,0">
|
|
<GradientStop Color="{StaticResource BeamWall_HawkesBlue_Color}" Offset="0.0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_FrenchPass_Color}" Offset="1.0"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="ComboBox.Pressed.Editable.Button.Border" Color="{StaticResource BeamWall_CornflowerBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Border" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Glyph" Color="{StaticResource BeamWall_Silver_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Editable.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Editable.Border" Color="{StaticResource BeamWall_Silver_Color}"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Editable.Button.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ComboBox.Disabled.Editable.Button.Border" Color="Transparent"/>
|
|
|
|
<!--#endregion Colori ComboBox-->
|
|
|
|
<!--#region Colori Expander-->
|
|
|
|
<SolidColorBrush x:Key="Expander.Static.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="Expander.Static.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Static.Border" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="Expander.Static.Circle.Stroke" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Static.Circle.Fill" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Static.Arrow.Stroke" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Circle.Stroke" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Circle.Fill" Color="{StaticResource BeamWall_AliceBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Arrow.Stroke" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Pressed.Circle.Stroke" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Pressed.Circle.Fill" Color="{StaticResource BeamWall_PattensBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Pressed.Arrow.Stroke" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Expander.Disabled.Circle.Stroke" Color="{StaticResource BeamWall_RegentStBlue_Color}" Opacity="0.5"/>
|
|
<SolidColorBrush x:Key="Expander.Disabled.Circle.Fill" Color="{StaticResource BeamWall_Mercury_Color}" Opacity="0.5"/>
|
|
<SolidColorBrush x:Key="Expander.Disabled.Arrow.Stroke" Color="{StaticResource BeamWall_RegentStBlue_Color}" Opacity="0.5"/>
|
|
|
|
<!--#endregion Colori Expander-->
|
|
|
|
<!--#region Colori ListBox-->
|
|
|
|
<SolidColorBrush x:Key="ListBox.Static.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.NewAddFeature.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.NewAddFeatureIsSelected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.NewAddFeatureIsSelected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.NewAddFeatureNotSelected.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.NewAddFeatureNotSelected.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.MacroCustom.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.MacroDefault.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.FeatureManager.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.LeftPanel.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.Strategy.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.StrategyIsSelected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.StrategyIsSelected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.StrategyNoSelected.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.StrategyNoSelected.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.BTLIsSelected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.BTLIsSelected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.BTLNoSelected.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.BTLNoSelected.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.ForcedStrategyBTL.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.ForcedStrategyBTLIsSelected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.ForcedStrategyBTLIsSelected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.ForcedStrategyBTLNoSelected.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.ForcedStrategyBTLNoSelected.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="ListBox.BTLPartIsSelected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.BTLPartIsSelected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="ListBox.BTLPartNoSelected.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="ListBox.BTLPartNoSelected.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Item.MouseOver.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Item.MouseOver.Border" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Item.MouseOver.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="Item.SelectedActive.Background" Color="{StaticResource BeamWall_Keppel_Color}"/>
|
|
<SolidColorBrush x:Key="Item.SelectedActive.Border" Color="{StaticResource BeamWall_Keppel_Color}"/>
|
|
<SolidColorBrush x:Key="Item.SelectedActive.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="Item.SelectedInactive.Background" Color="#3DDADADA"/>
|
|
<SolidColorBrush x:Key="Item.SelectedInactive.Border" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
|
|
<!--#endregion Colori ListBox-->
|
|
|
|
<!--#region Colori TabItem-->
|
|
|
|
<LinearGradientBrush x:Key="TabItem.Static.Background" EndPoint="0.5,1" StartPoint="0.5,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Glacier_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_RegentStBlue_Color}" Offset="0.85"/>
|
|
<GradientStop Color="{StaticResource BeamWall_LinkWater_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="TabItem.Static.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="TabItem.Static.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="TabItem.MouseOver.Background" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="TabItem.MouseOver.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<LinearGradientBrush x:Key="TabItem.Selected.Background" EndPoint="0.5,1" StartPoint="0.5,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Kashmir_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Glacier_Color}" Offset="0.85"/>
|
|
<GradientStop Color="{StaticResource BeamWall_RegentStBlue_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="TabItem.Selected.Border" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="TabItem.Disabled.Background" Color="{StaticResource BeamWall_Gallery_Color}"/>
|
|
<SolidColorBrush x:Key="TabItem.Disabled.Border" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
|
|
<!--#endregion Colori TabItem-->
|
|
|
|
<!--#region Colori TabControl-->
|
|
|
|
<SolidColorBrush x:Key="TabControl.Static.EgtManageDialog.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="TabControl.Static.EgtManageDialog.Border" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<LinearGradientBrush x:Key="TabControl.Static.Generic.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<LinearGradientBrush x:Key="TabControl.Optimizer.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--#endregion Colori TabControl-->
|
|
|
|
<!--#region Colori ScrollViewer-->
|
|
|
|
<LinearGradientBrush x:Key="ScrollViewer.Static.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Silver_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Alto_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--#endregion Colori ScrollViewer-->
|
|
|
|
<!--#region Colori Grid-->
|
|
|
|
<LinearGradientBrush x:Key="Grid.Static.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.65"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<SolidColorBrush x:Key="Grid.Static.ExpanderDown.Background" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="Grid.Static.ExpanderUp.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Grid.Statistics.Background" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Grid.UserAdmin.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
|
|
<!--#endregion Colori Grid-->
|
|
|
|
<!--#region Colori GridSplitter-->
|
|
|
|
<SolidColorBrush x:Key="GridSplitter.Width.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="GridSplitter.Height.Background" Color="Transparent"/>
|
|
|
|
<!--#endregion Colori GridSplitter-->
|
|
|
|
<!--#region Colori TreeView-->
|
|
|
|
<LinearGradientBrush x:Key="TreeView.Static.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<SolidColorBrush x:Key="TreeView.Static.EgtManageDialog.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<!--#endregion Colori TreeView-->
|
|
|
|
<!--#region Colori TextBlock-->
|
|
|
|
<SolidColorBrush x:Key="TextBlock.Static.First.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="TextBlock.Static.Second.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="TextBlock.Static.Third.Foreground" Color="{StaticResource BeamWall_DarkGray_Color}"/>
|
|
<SolidColorBrush x:Key="TextBlock.Static.Fouth.Foreground" Color="{StaticResource BeamWall_Black_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.UserAdmin.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.StrategyModify.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.CALC_ROT.Foreground" Color="{StaticResource BeamWall_Blue_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.Prod.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="TextBlock.Prod.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.RawPartList.Foreground" Color="{StaticResource BeamWall_Orange_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.Error.Foreground" Color="{StaticResource BeamWall_Red_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="TextBlock.AlternationIndex_0.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="TextBlock.AlternationIndex_1.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="TextBlock.AlternationIndexIsSelected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<!--#endregion TextBlock-->
|
|
|
|
<!--#region Colori StackPanel-->
|
|
|
|
<SolidColorBrush x:Key="StackPanel.Static.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="StackPanel.BTLTotParts.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="StackPanel.BTLTotTime.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="StackPanel.BTLRemainingTime.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="StackPanel.RawPart.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="StackPanel.Statistics.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<!--#endregion Colori StackPanel-->
|
|
|
|
<!--#region Colori GroupBox-->
|
|
|
|
<SolidColorBrush x:Key="GroupBox.Static.Border" Color="{StaticResource BeamWall_Geyser_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="GroupBox.Static.OpenProjec.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="GroupBox.PDFPreview.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="GroupBox.MachinePanel.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<!--#endregion Colori GroupBox-->
|
|
|
|
<!--#region Colori Border-->
|
|
|
|
<SolidColorBrush x:Key="Border.Static.GroupBox.First.Border" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="Border.Static.GroupBox.Second.Border" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Static.Optmizer.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Static.EgtManageDialog.Border" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Static.TitleBar.Background" Color="{StaticResource BeamWall_Casper_Color}"/>
|
|
<SolidColorBrush x:Key="Border.Static.TitleBar.Border" Color="{StaticResource BeamWall_Casper_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Static.AboutBoxV.Border" Color="{StaticResource BeamWall_RegentStBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Border.Static.AboutBox.Border" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.ButtonTitleBar.Background" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.EgwWindow.Border" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.ControlTemplete.Background" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="Border.ControlTemplete.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<LinearGradientBrush x:Key="Border.WithoutTitleBar.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<SolidColorBrush x:Key="Border.EgtHexItem.Border" Color="{StaticResource BeamWall_Gold_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Parameter.Background" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
<SolidColorBrush x:Key="Border.Parameter.Border" Color="{StaticResource BeamWall_Gray_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.NewAddFeature.Border" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.AlternationIndex.Border" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.ItemContainer.Background" Color="{StaticResource BeamWall_LinkWater_Color}"/>
|
|
<SolidColorBrush x:Key="Border.ItemContainer.Border" Color="{StaticResource BeamWall_LinkWater_Color}"/>
|
|
<SolidColorBrush x:Key="Border.ItemContainerIsSelected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Border.ItemContainerIsSelected.Border" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Strategy.Border" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.BTL.Border" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.ForcedStrategyBTL.Border" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.BTLPart.Border" Color="Transparent"/>
|
|
|
|
<SolidColorBrush x:Key="Border.TotalTime.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="Border.TotalTime.Border" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.DoneTime.Background" Color="{StaticResource BeamWall_FruitSalad_Color}"/>
|
|
<SolidColorBrush x:Key="Border.DoneTime.Border" Color="{StaticResource BeamWall_FruitSalad_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.RemainingTime.Background" Color="{StaticResource BeamWall_FuelYellow_Color}"/>
|
|
<SolidColorBrush x:Key="Border.RemainingTime.Border" Color="{StaticResource BeamWall_FuelYellow_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.ProjectType.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="Border.ProjectType.Border" Color="{StaticResource BeamWall_DarkGray_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.AddFeature.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.PRC.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Custom.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.MacroCustom.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.Default.Background" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.MacroDefault.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.BTLPartManager.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="Border.BTLPartManager.Border" Color="{StaticResource BeamWall_Teal_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.SetUp.Border" Color="{StaticResource BeamWall_Indigo_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Border.TopPanel.Background" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
<SolidColorBrush x:Key="Border.TopPanel.Border" Color="{StaticResource BeamWall_Gray_Color}"/>
|
|
|
|
<!--#endregion Colori Border-->
|
|
|
|
<!--#region Colori Rectangle-->
|
|
|
|
<SolidColorBrush x:Key="Rectangle.Static.Stroke" Color="{StaticResource BeamWall_Black_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Rectangle.EgtColorPicker.Stroke" Color="{StaticResource BeamWall_Black_Color}"/>
|
|
|
|
<!--#endregion Colori Rectangle-->
|
|
|
|
<!--#region Colori StatusBar-->
|
|
|
|
<SolidColorBrush x:Key="StatusBar.Static.Background" Color="{StaticResource BeamWall_Alto_Color}"/>
|
|
|
|
<!--#endregion Colori StatusBar-->
|
|
|
|
<!--#region Colori DatePicker-->
|
|
|
|
<SolidColorBrush x:Key="DatePicker.Static.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="DatePicker.Static.Border" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="DatePickerTextBox.Static.Background" Color="Transparent"/>
|
|
|
|
<!--#endregion Colori DatePicker-->
|
|
|
|
<!--#region Colori Calendar-->
|
|
|
|
<LinearGradientBrush x:Key="Calendar.Static.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Glacier_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_LinkWater_Color}" Offset="0.16"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<LinearGradientBrush x:Key="Calendar.Static.Border" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_LinkWater_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_RegentStBlue_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Glacier_Color}" Offset="0.75"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Kashmir_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
|
|
<!--#endregion Colori Calendar-->
|
|
|
|
<!--#region Colori DataGrid-->
|
|
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.Main.Background" Color="{StaticResource BeamWall_Teal_Color}"/>
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.Main.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.Feature.Background" Color="{StaticResource BeamWall_Keppel_Color}"/>
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.Feature.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.PParam.Background" Color="{StaticResource BeamWall_Downy_Color}"/>
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.PParam.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.RawPart.Background" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="DataGridColumnHeader.Static.RawPart.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="DataGrid.Static.Background" Color="Transparent"/>
|
|
<SolidColorBrush x:Key="DataGrid.Static.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="DataGrid.Static.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="RowDataGrid.Static.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
<SolidColorBrush x:Key="CellDataGrid.Static.Foreground" Color="{StaticResource BeamWall_Corduroy_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="RowDataGrid.Selected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="RowDataGrid.Selected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="RowDataGrid.Selected.Border" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="CellDataGrid.Selected.Background" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
<SolidColorBrush x:Key="CellDataGrid.Selected.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="CellDataGrid.Selected.Border" Color="{StaticResource BeamWall_FountainBlue_Color}"/>
|
|
|
|
<!--#endregion Colori DataGrid-->
|
|
|
|
<!--#region Colori OptimizerWindow-->
|
|
|
|
<LinearGradientBrush x:Key="OptimizerWindow.Static.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="OptimizerWindow.Static.Foreground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
<SolidColorBrush x:Key="OptimizerWindow.Static.Border" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
|
|
<!--#endregion Colori OtimizerWindow-->
|
|
|
|
<!--#region Colori EgtCustomWindow-->
|
|
|
|
<LinearGradientBrush x:Key="EgtCustomWindow.Static.Background" EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
<SolidColorBrush x:Key="EgtCustomWindow.Static.Border" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
<SolidColorBrush x:Key="EgtCustomWindow.Static.TitleBarBorder" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="EgtCustomWindow.Static.TitleBarForeground" Color="{StaticResource BeamWall_White_Color}"/>
|
|
|
|
<!--#endregion Colori EgtCustomWindow-->
|
|
|
|
<!--#region Colori EgtFloatingPanel-->
|
|
|
|
<SolidColorBrush x:Key="EgtFloatingPanel.Static.Background" Color="{StaticResource BeamWall_Gray_Color}"/>
|
|
<SolidColorBrush x:Key="EgtFloatingPanel.Static.Border" Color="{StaticResource BeamWall_Gray_Color}"/>
|
|
|
|
<!--#endregion Colori EgtFloatingPanel-->
|
|
|
|
<!--#region Colori EgtHexItem-->
|
|
|
|
<SolidColorBrush x:Key="EgtHexItem.Static.Background" Color="{StaticResource BeamWall_CornflowerBlue_Color}"/>
|
|
<SolidColorBrush x:Key="EgtHexItem.Static.Border" Color="{StaticResource BeamWall_Black_Color}"/>
|
|
|
|
<!--#endregion Colori EgtHexItem-->
|
|
|
|
<!--#region Colori Ellipse-->
|
|
|
|
<SolidColorBrush x:Key="Ellipse.Static.Fill" Color="{StaticResource BeamWall_Blue_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Ellipse.Parameter.Fill" Color="{StaticResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="Ellipse.ParameterIsChecked.Fill" Color="{StaticResource BeamWall_Kashmir_Color}"/>
|
|
|
|
<SolidColorBrush x:Key="Ellipse.UpdateBTL.Fill" Color="{StaticResource BeamWall_Red_Color}"/>
|
|
|
|
<!--#endregion Colori Ellipse-->
|
|
|
|
<!--#region Colori ToggleButton-->
|
|
|
|
<SolidColorBrush x:Key="ToggleButton.Static.Background" Color="Transparent"/>
|
|
|
|
<!--#endregion Colori ToggleButton-->
|
|
|
|
<!--#region Colori UniformGrid-->
|
|
|
|
<SolidColorBrush x:Key="UniformGrid.LeftPanel.Background" Color="{DynamicResource BeamWall_LinkWater_Color}"/>
|
|
|
|
<!--#endregion UniformGrid-->
|
|
|
|
<!--#region Colori ToolTip-->
|
|
|
|
<SolidColorBrush x:Key="ToolTip.PParameters.Background" Color="{DynamicResource BeamWall_Glacier_Color}"/>
|
|
<SolidColorBrush x:Key="ToolTip.PParameters.Foreground" Color="{DynamicResource BeamWall_White_Color}"/>
|
|
|
|
<!--#endregion Colori ToolTip-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Image-->
|
|
|
|
<BitmapImage x:Key="Save_Image" UriSource="/Resources/ProjectManager/Save.png"/>
|
|
|
|
<!--#endregion Image-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region 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>
|
|
|
|
<!--#endregion FocusVisual standard-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TextBlock-->
|
|
|
|
<!--#region MachParam-->
|
|
|
|
<Style x:Key="MachParam_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachinePanel_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource MachParam_TextBlock}">
|
|
<Setter Property="TextWrapping" Value="WrapWithOverflow"/>
|
|
<Setter Property="Width" Value="150"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Description_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource MachParam_TextBlock}">
|
|
<Setter Property="TextWrapping" Value="WrapWithOverflow"/>
|
|
<Setter Property="Width" Value="148"/>
|
|
</Style>
|
|
|
|
<!--#endregion MachParam-->
|
|
|
|
<!--#region DialogWindow-->
|
|
|
|
<Style x:Key="DialogWindow_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtMessageBox_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtManageDialog_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ComboManageDialog_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Info_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="TextAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtColorPicker_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="Margin" Value="5,18,5,10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FileName_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#region RedColor-->
|
|
|
|
<Style x:Key="RedColor_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DialogWindow_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="0,10,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GreenColor_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource RedColor_TextBlock}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion RedColor-->
|
|
|
|
<!--#endregion DialogWindow-->
|
|
|
|
<!--#region MMUnits-->
|
|
|
|
<Style x:Key="MMUnits_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CurrMach_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource MMUnits_TextBlock}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion MMUnits-->
|
|
|
|
<!--#region DataGrid-->
|
|
|
|
<Style x:Key="DataGrid_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextAlignment" Value="Left"/>
|
|
<Setter Property="Padding" Value="12,6,12,6"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DataGridR_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DataGrid_TextBlock}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="TextAlignment" Value="Right"/>
|
|
</Style>
|
|
|
|
<!--#endregion DataGrid-->
|
|
|
|
<Style x:Key="ForegroundWhite_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.First.Foreground}"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ForegroundCorduroy_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MessageBox_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource ForegroundCorduroy_TextBlock}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Option_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="10,5,10,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Filter_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="2.5,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OpenWnd_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Third.Foreground}"/>
|
|
<Setter Property="Margin" Value="0,0,20,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ConfigurationProgram_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="FontSize" Value="15"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StatusBar_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Fouth.Foreground}"/>
|
|
<Setter Property="TextAlignment" Value="Right"/>
|
|
<Setter Property="Width" Value="250"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Measure_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Fouth.Foreground}"/>
|
|
<Setter Property="Width" Value="35"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CurrMachine_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Fouth.Foreground}"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="General_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Ext_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Name_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NameImage_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="2.5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningDB_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="Margin" Value="0,-2,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="TitleBar_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Margin" Value="4 0 0 0"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsActive, RelativeSource={RelativeSource AncestorType=Window}}" Value="False">
|
|
<Setter Property="Foreground" Value="{DynamicResource WindowTitleBarInactiveText}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="ForcedStrategy_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
</Style>
|
|
|
|
<!--#region AboutBox_TextBlock-->
|
|
|
|
<Style x:Key="AboutBox_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="18"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Copyright_TextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource AboutBox_TextBlock}">
|
|
<Setter Property="FontSize" Value="12"/>
|
|
</Style>
|
|
|
|
<!--#endregion AboutBox_TextBlock-->
|
|
|
|
<!--#endregion TextBlock-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TextBox-->
|
|
|
|
<!--#region EgtWPFLib5-->
|
|
|
|
<Style x:Key="EgtOptmizer_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NewSearchText_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachineConfiguration_TextBox" TargetType="{x:Type EgtWPFLib5:EgtTextBox}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtTextBox}}">
|
|
<Setter Property="Width" Value="60"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtWPFLib5-->
|
|
|
|
<!--#region ParameterList-->
|
|
|
|
<Style x:Key="ParameterList_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="TextAlignment" Value="Right"/>
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="FontWeight" Value="Normal"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SaveFileName_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource ParameterList_TextBox}">
|
|
<Setter Property="TextAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion ParameterList-->
|
|
|
|
<!--#region ColorPicker-->
|
|
|
|
<Style x:Key="ColorPicker_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="65"/>
|
|
</Style>
|
|
|
|
<!--#region RedColor-->
|
|
|
|
<Style x:Key="RedColor_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource ColorPicker_TextBox}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="IsReadOnly" Value="False"/>
|
|
<Setter Property="Margin" Value="0,5,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GreenColor_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource RedColor_TextBox}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion RedColor-->
|
|
|
|
<!--#endregion ColorPicker-->
|
|
|
|
<Style x:Key="Optimizer_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="200"/>
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="General_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="Margin" Value="0,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AboutBox_TextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextBlock.Static.Second.Foreground}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="IsReadOnly" Value="True"/>
|
|
</Style>
|
|
|
|
<!--#endregion TextBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Button-->
|
|
|
|
<Style TargetType="{x:Type Button}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="{StaticResource ButtonBasic.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource ButtonBasic.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="ToolTipService.ShowOnDisabled" Value="True"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border"
|
|
CornerRadius="3"
|
|
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="IsDefaulted" Value="true">
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource ButtonBasic.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource ButtonBasic.MouseOver.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource ButtonBasic.Pressed.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource ButtonBasic.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource ButtonBasic.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource ButtonBasic.Disabled.Border}"/>
|
|
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{StaticResource ButtonBasic.Disabled.Foreground}"/>
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#region LeftPanel-->
|
|
|
|
<Style x:Key="LeftPanel_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtColorPicker_TextButton" TargetType="{x:Type Button}" BasedOn="{StaticResource LeftPanel_TextButton}">
|
|
<Setter Property="Margin" Value="0,10,0,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion LeftPanel-->
|
|
|
|
<Style x:Key="ToolBar_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Mach_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
</Style>
|
|
|
|
<Style x:Key="LeftPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,2.5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SnapPoint_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Width" Value="80"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RightPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="Width" Value="64"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="2.5,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="Optimizer_Button" TargetType="{x:Type Button}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="{StaticResource ButtonBasic.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Button.Static.Foreground}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
SnapsToDevicePixels="true" CornerRadius="2">
|
|
<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="IsDefaulted" Value="true">
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Button.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.MouseOver.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Button.Pressed.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Button.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Disabled.Border}"/>
|
|
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{StaticResource Button.Disabled.Foreground}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="Button.OptimizerWindow.TitleBar" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Foreground" Value="{StaticResource Button.TitleBar.Foreground}" />
|
|
<Setter Property="Padding" Value="0" />
|
|
<Setter Property="WindowChrome.IsHitTestVisibleInChrome" Value="True" />
|
|
<Setter Property="IsTabStop" Value="False" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="border"
|
|
Background="{StaticResource Border.ButtonTitleBar.Background}"
|
|
BorderThickness="0"
|
|
SnapsToDevicePixels="true">
|
|
<ContentPresenter x:Name="contentPresenter"
|
|
Margin="0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Focusable="False"
|
|
RecognizesAccessKey="True" />
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter TargetName="border" Property="Background" Value="{DynamicResource MouseOverOverlayBackgroundBrush}" />
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter TargetName="border" Property="Background" Value="{DynamicResource PressedOverlayBackgroundBrush}" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolBarViewPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Margin" Value="5,2,5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GeneralConfiguration_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="80"/>
|
|
<Setter Property="Margin" Value="5,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ParameterMachine_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="140"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<!--#region EgtWPFLib5-->
|
|
|
|
<Style x:Key="EgtWPFLib5_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="80"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MovePartInRawPartWnd_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource EgtWPFLib5_Button}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtWPFLib5-->
|
|
|
|
<Style x:Key="SaveOptionPanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="Width" Value="25"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="SaveMachinePanel_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="50"/>
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Margin" Value="50"/>
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MainMenu_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Background" Value="{StaticResource Button.MainMenu.Background}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_White}"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="Normal"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="120"/>
|
|
</Style>
|
|
|
|
<Style x:Key="General_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Foreground" Value="{StaticResource Button.General.Foreground}"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
<Setter Property="Margin" Value="2.5,0,0,0"/>
|
|
</Style>
|
|
|
|
<!--#region RightPanel_HalfRound-->
|
|
|
|
<Style x:Key="RightPanel_HalfRound_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource Optimizer_Button}">
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="Width" Value="64"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtColorPicker_HalfRound_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource RightPanel_HalfRound_Button}">
|
|
<Setter Property="Margin" Value="2.5,0,2.5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtManageDialogOK_HalfRound_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource RightPanel_HalfRound_Button}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="15,0,2.5,2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningDB_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource RightPanel_HalfRound_Button}">
|
|
<Setter Property="Height" Value="30"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtManageDialogCancel_HalfRound_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource RightPanel_HalfRound_Button}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="2.5,0,0,2"/>
|
|
</Style>
|
|
|
|
<!--#endregion RightPanel_HalfRound-->
|
|
|
|
<!--#endregion Optimizer-->
|
|
|
|
<Style x:Key="AboutBox_Button" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Margin" Value="100,0"/>
|
|
<Setter Property="IsCancel" Value="True"/>
|
|
</Style>
|
|
|
|
<!--#endregion Button-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ToggleButton-->
|
|
|
|
<Style TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="{StaticResource ButtonBasic.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="1"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="ToolTipService.ShowOnDisabled" Value="True"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="border" CornerRadius="3" 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" TargetName="border" Value="{StaticResource Button.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.MouseOver.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Button.Pressed.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource BeamWall_GoldenTainoi}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Pressed.Border}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Background" TargetName="border" Value="{StaticResource Button.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Disabled.Border}"/>
|
|
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{StaticResource Button.Disabled.Foreground}"/>
|
|
<Setter Property="OpacityMask" Value="#54707070"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="Small_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MainMenu_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_White}"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="Normal"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="120"/>
|
|
<Setter Property="Background">
|
|
<Setter.Value>
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Kashmir_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Glacier_Color}" Offset="0.65"/>
|
|
<GradientStop Color="{StaticResource BeamWall_RegentStBlue_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter Property="TextBlock.FontWeight" Value="ExtraBold"/>
|
|
<Setter Property="TextBlock.Foreground" Value="{StaticResource BeamWall_Corduroy}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="ToolBar_ToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Margin" Value="5,2,5,2"/>
|
|
</Style>
|
|
|
|
<!--#endregion ToggleButton Style-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ScrollBar-->
|
|
|
|
<Style x:Key="RepeatButtonTransparent" TargetType="{x:Type RepeatButton}">
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Focusable" Value="false"/>
|
|
<Setter Property="IsTabStop" Value="false"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type RepeatButton}">
|
|
<Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ScrollBarButton" TargetType="{x:Type RepeatButton}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<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" Background="{StaticResource ScrollBar.Button.Static.Background}" BorderBrush="{StaticResource ScrollBar.Static.Border}" BorderThickness="1" 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>
|
|
<Style x:Key="ScrollBarThumbVertical" TargetType="{x:Type Thumb}">
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/>
|
|
<Setter Property="IsTabStop" Value="false"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Rectangle x:Name="rectangle" Fill="{StaticResource ScrollBar.Static.Thumb}" Height="{TemplateBinding Height}" SnapsToDevicePixels="True" Width="{TemplateBinding Width}"/>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Fill" TargetName="rectangle" Value="{StaticResource ScrollBar.MouseOver.Thumb}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsDragging" Value="true">
|
|
<Setter Property="Fill" TargetName="rectangle" Value="{StaticResource ScrollBar.Pressed.Thumb}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ScrollBarThumbHorizontal" TargetType="{x:Type Thumb}">
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/>
|
|
<Setter Property="IsTabStop" Value="false"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Rectangle x:Name="rectangle" Fill="{StaticResource ScrollBar.Static.Thumb}" Height="{TemplateBinding Height}" SnapsToDevicePixels="True" Width="{TemplateBinding Width}"/>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Fill" TargetName="rectangle" Value="{StaticResource ScrollBar.MouseOver.Thumb}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsDragging" Value="true">
|
|
<Setter Property="Fill" TargetName="rectangle" Value="{StaticResource ScrollBar.Pressed.Thumb}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="Optimizer_ScrollBar" TargetType="{x:Type ScrollBar}">
|
|
<Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/>
|
|
<Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
|
|
<Setter Property="Background" Value="{StaticResource ScrollBar.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource ScrollBar.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<Setter Property="BorderThickness" Value="1,0"/>
|
|
<Setter Property="Width" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
|
|
<Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ScrollBar}">
|
|
<Grid x:Name="Bg" SnapsToDevicePixels="true">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/>
|
|
<RowDefinition Height="0.00001*"/>
|
|
<RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Grid.Row="1"/>
|
|
<RepeatButton x:Name="PART_LineUpButton" Command="{x:Static ScrollBar.LineUpCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Style="{StaticResource ScrollBarButton}">
|
|
<Path x:Name="ArrowTop"
|
|
Data="M 0,4 C0,4 0,6 0,6 0,6 3.5,2.5 3.5,2.5 3.5,2.5 7,6 7,6 7,6 7,4 7,4 7,4 3.5,0.5 3.5,0.5 3.5,0.5 0,4 0,4 z"
|
|
Fill="{StaticResource ScrollBar.Static.Glyph}"
|
|
Margin="3,4,3,3" Stretch="Uniform"/>
|
|
</RepeatButton>
|
|
<Track x:Name="PART_Track" IsDirectionReversed="true" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="1">
|
|
<Track.DecreaseRepeatButton>
|
|
<RepeatButton Command="{x:Static ScrollBar.PageUpCommand}" Style="{StaticResource RepeatButtonTransparent}"/>
|
|
</Track.DecreaseRepeatButton>
|
|
<Track.IncreaseRepeatButton>
|
|
<RepeatButton Command="{x:Static ScrollBar.PageDownCommand}" Style="{StaticResource RepeatButtonTransparent}"/>
|
|
</Track.IncreaseRepeatButton>
|
|
<Track.Thumb>
|
|
<Thumb Style="{StaticResource ScrollBarThumbVertical}"/>
|
|
</Track.Thumb>
|
|
</Track>
|
|
<RepeatButton x:Name="PART_LineDownButton" Command="{x:Static ScrollBar.LineDownCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="2" Style="{StaticResource ScrollBarButton}">
|
|
<Path x:Name="ArrowBottom" Data="M 0,2.5 C0,2.5 0,0.5 0,0.5 0,0.5 3.5,4 3.5,4 3.5,4 7,0.5 7,0.5 7,0.5 7,2.5 7,2.5 7,2.5 3.5,6 3.5,6 3.5,6 0,2.5 0,2.5 z" Fill="{StaticResource ScrollBar.Static.Glyph}" Margin="3,4,3,3" Stretch="Uniform"/>
|
|
</RepeatButton>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineDownButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineDownButton}" Value="true"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowBottom" Value="{StaticResource ScrollBar.Pressed.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineUpButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineUpButton}" Value="true"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowTop" Value="{StaticResource ScrollBar.Pressed.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineDownButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineDownButton}" Value="false"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowBottom" Value="{StaticResource ScrollBar.MouseOver.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineUpButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineUpButton}" Value="false"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowTop" Value="{StaticResource ScrollBar.MouseOver.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Fill" TargetName="ArrowTop" Value="{StaticResource ScrollBar.Disabled.Glyph}"/>
|
|
<Setter Property="Fill" TargetName="ArrowBottom" Value="{StaticResource ScrollBar.Disabled.Glyph}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="Orientation" Value="Horizontal">
|
|
<Setter Property="Width" Value="Auto"/>
|
|
<Setter Property="MinWidth" Value="0"/>
|
|
<Setter Property="Height" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
|
|
<Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
|
|
<Setter Property="BorderThickness" Value="0,1"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ScrollBar}">
|
|
<Grid x:Name="Bg" SnapsToDevicePixels="true">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/>
|
|
<ColumnDefinition Width="0.00001*"/>
|
|
<ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Grid.Column="1"/>
|
|
<RepeatButton x:Name="PART_LineLeftButton" Command="{x:Static ScrollBar.LineLeftCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Style="{StaticResource ScrollBarButton}">
|
|
<Path x:Name="ArrowLeft"
|
|
Data="M 3.18,7 C3.18,7 5,7 5,7 5,7 1.81,3.5 1.81,3.5 1.81,3.5 5,0 5,0 5,0 3.18,0 3.18,0 3.18,0 0,3.5 0,3.5 0,3.5 3.18,7 3.18,7 z"
|
|
Fill="{StaticResource ScrollBar.Static.Glyph}"
|
|
Margin="3"
|
|
Stretch="Uniform"/>
|
|
</RepeatButton>
|
|
<Track x:Name="PART_Track" Grid.Column="1" IsEnabled="{TemplateBinding IsMouseOver}">
|
|
<Track.DecreaseRepeatButton>
|
|
<RepeatButton Command="{x:Static ScrollBar.PageLeftCommand}" Style="{StaticResource RepeatButtonTransparent}"/>
|
|
</Track.DecreaseRepeatButton>
|
|
<Track.IncreaseRepeatButton>
|
|
<RepeatButton Command="{x:Static ScrollBar.PageRightCommand}" Style="{StaticResource RepeatButtonTransparent}"/>
|
|
</Track.IncreaseRepeatButton>
|
|
<Track.Thumb>
|
|
<Thumb Style="{StaticResource ScrollBarThumbHorizontal}"/>
|
|
</Track.Thumb>
|
|
</Track>
|
|
<RepeatButton x:Name="PART_LineRightButton" Command="{x:Static ScrollBar.LineRightCommand}" Grid.Column="2" IsEnabled="{TemplateBinding IsMouseOver}" Style="{StaticResource ScrollBarButton}">
|
|
<Path x:Name="ArrowRight"
|
|
Data="M 1.81,7 C1.81,7 0,7 0,7 0,7 3.18,3.5 3.18,3.5 3.18,3.5 0,0 0,0 0,0 1.81,0 1.81,0 1.81,0 5,3.5 5,3.5 5,3.5 1.81,7 1.81,7 z"
|
|
Fill="{StaticResource ScrollBar.Static.Glyph}"
|
|
Margin="3"
|
|
Stretch="Uniform"/>
|
|
</RepeatButton>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineRightButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineRightButton}" Value="true"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowRight" Value="{StaticResource ScrollBar.Pressed.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineLeftButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineLeftButton}" Value="true"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowLeft" Value="{StaticResource ScrollBar.Pressed.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineRightButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineRightButton}" Value="false"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowRight" Value="{StaticResource ScrollBar.MouseOver.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, ElementName=PART_LineLeftButton}" Value="true"/>
|
|
<Condition Binding="{Binding IsPressed, ElementName=PART_LineLeftButton}" Value="false"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Fill" TargetName="ArrowLeft" Value="{StaticResource ScrollBar.MouseOver.Glyph}"/>
|
|
</MultiDataTrigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Fill" TargetName="ArrowLeft" Value="{StaticResource ScrollBar.Disabled.Glyph}"/>
|
|
<Setter Property="Fill" TargetName="ArrowRight" Value="{StaticResource ScrollBar.Disabled.Glyph}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<!--#endregion ScrollBar-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ListBox-->
|
|
|
|
<Style TargetType="{x:Type ListBoxItem}">
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
<Setter Property="Padding" Value="4,1"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
|
|
<Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
<Border x:Name="Bd" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
|
|
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="IsMouseOver" Value="True"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.MouseOver.Border}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Item.MouseOver.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</MultiTrigger>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="Selector.IsSelectionActive" Value="False"/>
|
|
<Condition Property="IsSelected" Value="True"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedInactive.Border}"/>
|
|
</MultiTrigger>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="Selector.IsSelectionActive" Value="True"/>
|
|
<Condition Property="IsSelected" Value="True"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="Bd" Value="{StaticResource Item.SelectedActive.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource Item.SelectedActive.Border}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Item.SelectedActive.Foreground}"/>
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</MultiTrigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="TextElement.Foreground" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="BasicColor_ListBox" TargetType="{x:Type ListBox}">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#region EgtColorPicker-->
|
|
|
|
<Style x:Key="EgtColorPicker_ListBox" TargetType="{x:Type ListBox}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CustomerColor_ListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource EgtColorPicker_ListBox}">
|
|
<Setter Property="Background" Value="{StaticResource ListBox.Static.Background}"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtColorPicker-->
|
|
|
|
<!--#endregion ListBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ComboBox-->
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="Optmizer_ComboBox" TargetType="{x:Type ComboBox}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Background" Value="{StaticResource ComboBox.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource ComboBox.Static.Border}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource ComboBox.Static.Foreground}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="Padding" Value="6,3,5,3"/>
|
|
<Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
|
|
<Setter Property="ScrollViewer.PanningMode" Value="Both"/>
|
|
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="CalcPanel_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="22"/>
|
|
<Setter Property="Width" Value="150"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GeneralConfiguration_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="RowQTY_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Width" Value="55"/>
|
|
</Style>
|
|
|
|
<!--#region General-->
|
|
|
|
<Style x:Key="General_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource Optmizer_ComboBox}">
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="UnitMeasureList_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource General_ComboBox}">
|
|
<Setter Property="Margin" Value="0,5,0,0"/>
|
|
</Style>
|
|
|
|
<!--#region NewOpenProjectFile-->
|
|
|
|
<Style x:Key="NewOpenProjectFile_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource General_ComboBox}">
|
|
<Setter Property="Width" Value="105"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OpenProjectFile_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource NewOpenProjectFile_ComboBox}">
|
|
<Setter Property="Margin" Value="0,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion NewOpenProjectFile-->
|
|
|
|
<!--#endregion General-->
|
|
|
|
<!--#endregion Optimizer-->
|
|
|
|
<!--#region RightPanel-->
|
|
|
|
<Style x:Key="RightPanel_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource {x:Type ComboBox}}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="Width" Value="200"/>
|
|
</Style>
|
|
|
|
<!--#region EgtManageDialog-->
|
|
|
|
<Style x:Key="EgtManageDialog_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource RightPanel_ComboBox}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="IsSynchronizedWithCurrentItem" Value="True"/>
|
|
<Setter Property="Margin" Value="2.5,5,2.5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FilterList_ComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource EgtManageDialog_ComboBox}">
|
|
<Setter Property="Margin" Value="10,2.5,2.5,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtManageDialog-->
|
|
|
|
<!--#endregion RightPanel-->
|
|
|
|
<!--#endregion ComboBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region CheckBox-->
|
|
|
|
<Style x:Key="General_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="Margin" Value="0,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PParameters_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Alias_CheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource {x:Type CheckBox}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<!--#endregion CheckBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ItemsControl-->
|
|
|
|
<Style x:Key="ProjFileList_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="Margin" Value="0,-1,0,0"/>
|
|
<Setter Property="Padding" Value="0"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachinePanel_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="Margin" Value="0,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtMessageBox_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="UsersControl_ItemsControl" TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource {x:Type ItemsControl}}">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_Black}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ItemsControl}">
|
|
<Border SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
|
<ScrollViewer VerticalScrollBarVisibility="Visible">
|
|
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion ItemsControl-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TabItem-->
|
|
|
|
<Style x:Key="Optimizer_TabItem" TargetType="{x:Type TabItem}">
|
|
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TabItem.Static.Foreground}"/>
|
|
<Setter Property="Background" Value="{StaticResource TabItem.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource TabItem.Static.Border}"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
<Setter Property="Padding" Value="6,2,6,2"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Stretch"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TabItem}">
|
|
<Grid x:Name="templateRoot" SnapsToDevicePixels="true">
|
|
<Border x:Name="mainBorder"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="1,1,1,0"
|
|
Margin="2,0"
|
|
CornerRadius="4,4,0,0">
|
|
<Border x:Name="innerBorder"
|
|
Background="{StaticResource TabItem.Selected.Background}"
|
|
BorderBrush="{StaticResource TabItem.Selected.Border}"
|
|
BorderThickness="1,1,1,0"
|
|
Margin="-1"
|
|
Opacity="0"
|
|
CornerRadius="4,4,0,0"/>
|
|
</Border>
|
|
<ContentPresenter x:Name="contentPresenter"
|
|
ContentSource="Header"
|
|
Focusable="False"
|
|
HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
|
|
Margin="{TemplateBinding Padding}"
|
|
RecognizesAccessKey="True"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
|
VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.MouseOver.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.MouseOver.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/>
|
|
<Setter Property="Background" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Background}"/>
|
|
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{StaticResource TabItem.Disabled.Border}"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="-2,-2,0,-2"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="-2,0,-2,-2"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="0,-2,-2,-2"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="false"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
<MultiDataTrigger>
|
|
<MultiDataTrigger.Conditions>
|
|
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Mode=Self}}" Value="true"/>
|
|
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top"/>
|
|
</MultiDataTrigger.Conditions>
|
|
<Setter Property="Panel.ZIndex" Value="1"/>
|
|
<Setter Property="Margin" Value="-2,-2,-2,0"/>
|
|
<Setter Property="Opacity" TargetName="innerBorder" Value="1"/>
|
|
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0"/>
|
|
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0"/>
|
|
</MultiDataTrigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion TabItem-->
|
|
|
|
<!--#region TabControl-->
|
|
|
|
<Style x:Key="EgtManageDialog_TabControl" TargetType="{x:Type TabControl}">
|
|
<Setter Property="Background" Value="{StaticResource TabControl.Static.EgtManageDialog.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource TabControl.Static.EgtManageDialog.Border}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#region Generic-->
|
|
|
|
<Style x:Key="Generic_TabControl" TargetType="{x:Type TabControl}">
|
|
<Setter Property="Background" Value="{StaticResource TabControl.Static.Generic.Background}"/>
|
|
<Setter Property="TabStripPlacement" Value="Top"/>
|
|
<Setter Property="Margin" Value="5,5,2.5,5"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource Optimizer_TabItem}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="OnlyHeaders_TabControl" TargetType="{x:Type TabControl}" BasedOn="{StaticResource Generic_TabControl}">
|
|
<Setter Property="OverridesDefaultStyle" Value="True" />
|
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TabControl}">
|
|
<Grid KeyboardNavigation.TabNavigation="Local">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<TabPanel Name="HeaderPanel"
|
|
Grid.Row="0"
|
|
Panel.ZIndex="1"
|
|
Margin="0,0,4,-1"
|
|
IsItemsHost="True"
|
|
KeyboardNavigation.TabIndex="1"
|
|
Background="Transparent" />
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion Generic-->
|
|
|
|
<!--#endregion TabControl-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region StackPanel-->
|
|
|
|
<!--#region PartManager-->
|
|
|
|
<Style x:Key="PartManager_StackPanel" TargetType="{x:Type StackPanel}">
|
|
<Setter Property="Orientation" Value="Horizontal"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ConfigurationProgram_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachinePanel_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="PDFList_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource PartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion PartManager-->
|
|
|
|
<!--#region BTLPartManager-->
|
|
|
|
<Style x:Key="BTLPartManager_StackPanel" TargetType="{x:Type StackPanel}">
|
|
<Setter Property="Orientation" Value="Vertical"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtManageDialog_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
</Style>
|
|
|
|
<Style x:Key="List_StackPanel" TargetType="{x:Type StackPanel}" BasedOn="{StaticResource BTLPartManager_StackPanel}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion BTLPartManager-->
|
|
|
|
<Style x:Key="OptStatistics_StackPanel" TargetType="{x:Type StackPanel}">
|
|
<Setter Property="Background" Value="{StaticResource StackPanel.Static.Background}"/>
|
|
<Setter Property="Margin" Value="-10,10,10,10"/>
|
|
</Style>
|
|
|
|
<!--#endregion StackPanel-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region WrapPanel-->
|
|
|
|
<Style x:Key="Project_WrapPanel" TargetType="{x:Type WrapPanel}">
|
|
<Setter Property="Orientation" Value="Vertical"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ProjectH_WrapPanel" TargetType="{x:Type WrapPanel}">
|
|
<Setter Property="Orientation" Value="Horizontal"/>
|
|
</Style>
|
|
|
|
<!--#endregion WrapPanel-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Grid-->
|
|
|
|
<Style x:Key="ProjFileList_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="TextBlock.FontSize" Value="12"/>
|
|
<Setter Property="TextBlock.FontWeight" Value="Normal"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Gray_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Background" Value="{StaticResource BeamWall_Gray}"/>
|
|
<Setter Property="Margin" Value="40,0,40,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="General_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,2,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachParam_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,0,5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtColorPicker_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CustomerColor_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,0,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CurrColor_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,20,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddColor_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="0,10,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtMessageBox_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="2.5,2.5,2.5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MessageBox_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CalcPanel_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningDB_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Height" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NewOpenProjectFile_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="2"/>
|
|
</Style>
|
|
|
|
<!--#region AddRawPartWnd-->
|
|
|
|
<Style x:Key="AddRawPartWnd_Grid" TargetType="{x:Type Grid}">
|
|
<Setter Property="Margin" Value="5,5,5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtManageDialog_Grid" TargetType="{x:Type Grid}" BasedOn="{StaticResource AddRawPartWnd_Grid}">
|
|
<Setter Property="Height" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="ContentTemplate_Grid" TargetType="{x:Type Grid}" BasedOn="{StaticResource AddRawPartWnd_Grid}">
|
|
<Setter Property="Height" Value="50"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtDirectory_Grid" TargetType="{x:Type Grid}" BasedOn="{StaticResource AddRawPartWnd_Grid}">
|
|
<Setter Property="Width" Value="250"/>
|
|
<Setter Property="Height" Value="50"/>
|
|
</Style>
|
|
|
|
<!--#endregion AddRawPartWnd-->
|
|
|
|
<!--#endregion Grid-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region UniformGrid-->
|
|
|
|
<Style x:Key="General_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="3"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AddRawPartWnd_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="GeneralConfiguration_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="0,5,0,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtColorPicker_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="10,10,10,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="EgtManageDialog_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="2.5,0,2.5,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Command_UniformGrid" TargetType="{x:Type UniformGrid}">
|
|
<Setter Property="Margin" Value="2.5,0,2.5,2.5"/>
|
|
</Style>
|
|
|
|
<!--#endregion UniformGrid-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region GroupBox-->
|
|
|
|
<!--#region NoHeader-->
|
|
|
|
<Style x:Key="NoHeader_GroupBox" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="Margin" Value="1.5,3,3,0"/>
|
|
<Setter Property="Padding" Value="5,5,0,0"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource GroupBox.Static.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type GroupBox}">
|
|
<Grid SnapsToDevicePixels="True">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="6"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="6"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="6"/>
|
|
</Grid.RowDefinitions>
|
|
<Border BorderBrush="{StaticResource Border.Static.GroupBox.First.Border}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Background="{TemplateBinding Background}"
|
|
Grid.ColumnSpan="4" Grid.Column="0" CornerRadius="4" Grid.Row="1" Grid.RowSpan="3"/>
|
|
<Border BorderBrush="{StaticResource Border.Static.GroupBox.Second.Border}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Grid.ColumnSpan="4" CornerRadius="4" Grid.Row="1" Grid.RowSpan="3">
|
|
<Border BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="3">
|
|
<Border BorderBrush="{StaticResource Border.Static.GroupBox.Second.Border}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="2"/>
|
|
</Border>
|
|
</Border>
|
|
<Border x:Name="Header" Grid.Column="1" Padding="3,1,3,0" Grid.Row="0" Grid.RowSpan="2">
|
|
<ContentPresenter ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" ContentStringFormat="{TemplateBinding HeaderStringFormat}" ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</Border>
|
|
<ContentPresenter Grid.ColumnSpan="2" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="1" ContentStringFormat="{TemplateBinding ContentStringFormat}" Margin="{TemplateBinding Padding}" Grid.Row="2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="MachineConfiguration_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource NoHeader_GroupBox}">
|
|
<Setter Property="Padding" Value="5,10,5,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion NoHeader-->
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="Optimizer_GroupBox" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="Foreground" Value="{StaticResource BeamWall_Corduroy}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="General_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource Optimizer_GroupBox}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource BeamWall_Glacier}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Warehouse_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource Optimizer_GroupBox}">
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachineParam_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource Optimizer_GroupBox}">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NewOpenProjectFile_GroupBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource Optimizer_GroupBox}">
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optimizer-->
|
|
|
|
<Style x:Key="OpenProjectFile_GroupBox" TargetType="{x:Type GroupBox}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource GroupBox.Static.OpenProjec.Border}"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#endregion GroupBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Expander-->
|
|
|
|
<Style x:Key="ExpanderHeaderFocusVisual">
|
|
<Setter Property="Control.Template">
|
|
<Setter.Value>
|
|
<ControlTemplate>
|
|
<Border>
|
|
<Rectangle Margin="0" StrokeDashArray="1 2" Stroke="{StaticResource Rectangle.Static.Stroke}" SnapsToDevicePixels="true" StrokeThickness="1"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ExpanderDownHeaderStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Padding="{TemplateBinding Padding}">
|
|
<Grid Background="{StaticResource Grid.Static.ExpanderDown.Background}" Height="25" SnapsToDevicePixels="False">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="19"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Rectangle x:Name="circle"
|
|
Fill="{StaticResource Expander.Static.Circle.Fill}"
|
|
HorizontalAlignment="Center"
|
|
Height="25"
|
|
Stroke="{StaticResource Expander.Static.Circle.Stroke}"
|
|
VerticalAlignment="Center"
|
|
Width="19"/>
|
|
<Path x:Name="arrow"
|
|
Data="M 1,1.5 L 4.5,5 L 8,1.5"
|
|
HorizontalAlignment="Center"
|
|
Stroke="{StaticResource Expander.Static.Arrow.Stroke}"
|
|
SnapsToDevicePixels="false" StrokeThickness="2" VerticalAlignment="Center"/>
|
|
<ContentPresenter Grid.Column="1" HorizontalAlignment="Center" RecognizesAccessKey="True" SnapsToDevicePixels="True" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Data" TargetName="arrow" Value="M 1,4.5 L 4.5,1 L 8,4.5"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.MouseOver.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Stroke}"/>
|
|
<Setter Property="StrokeThickness" TargetName="circle" Value="1.5"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Pressed.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Disabled.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ExpanderUpHeaderStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Padding="{TemplateBinding Padding}">
|
|
<Grid Background="{StaticResource Grid.Static.ExpanderUp.Background}" SnapsToDevicePixels="False">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="19"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid>
|
|
<Grid.LayoutTransform>
|
|
<TransformGroup>
|
|
<TransformGroup.Children>
|
|
<TransformCollection>
|
|
<RotateTransform Angle="180"/>
|
|
</TransformCollection>
|
|
</TransformGroup.Children>
|
|
</TransformGroup>
|
|
</Grid.LayoutTransform>
|
|
<Ellipse x:Name="circle"
|
|
Fill="{StaticResource Expander.Static.Circle.Fill}"
|
|
HorizontalAlignment="Center"
|
|
Height="19"
|
|
Stroke="{StaticResource Expander.Static.Circle.Stroke}"
|
|
VerticalAlignment="Center" Width="19"/>
|
|
<Path x:Name="arrow"
|
|
Data="M 1,1.5 L 4.5,5 L 8,1.5"
|
|
HorizontalAlignment="Center"
|
|
Stroke="{StaticResource Expander.Static.Arrow.Stroke}"
|
|
SnapsToDevicePixels="false" StrokeThickness="2" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<ContentPresenter Grid.Column="1" HorizontalAlignment="Left" Margin="4,0,0,0" RecognizesAccessKey="True" SnapsToDevicePixels="True" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Data" TargetName="arrow" Value="M 1,4.5 L 4.5,1 L 8,4.5"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.MouseOver.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Stroke}"/>
|
|
<Setter Property="StrokeThickness" TargetName="circle" Value="1.5"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Pressed.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Disabled.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ExpanderLeftHeaderStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Padding="{TemplateBinding Padding}">
|
|
<Grid Background="{StaticResource Grid.Static.ExpanderUp.Background}" SnapsToDevicePixels="False">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="19"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.LayoutTransform>
|
|
<TransformGroup>
|
|
<TransformGroup.Children>
|
|
<TransformCollection>
|
|
<RotateTransform Angle="90"/>
|
|
</TransformCollection>
|
|
</TransformGroup.Children>
|
|
</TransformGroup>
|
|
</Grid.LayoutTransform>
|
|
<Ellipse x:Name="circle"
|
|
Fill="{StaticResource Expander.Static.Circle.Fill}"
|
|
HorizontalAlignment="Center" Height="19"
|
|
Stroke="{StaticResource Expander.Static.Circle.Stroke}"
|
|
VerticalAlignment="Center" Width="19"/>
|
|
<Path x:Name="arrow"
|
|
Data="M 1,1.5 L 4.5,5 L 8,1.5"
|
|
HorizontalAlignment="Center"
|
|
Stroke="{StaticResource Expander.Static.Arrow.Stroke}"
|
|
SnapsToDevicePixels="false" StrokeThickness="2" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<ContentPresenter HorizontalAlignment="Center" Margin="0,4,0,0" RecognizesAccessKey="True" Grid.Row="1" SnapsToDevicePixels="True" VerticalAlignment="Top"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Data" TargetName="arrow" Value="M 1,4.5 L 4.5,1 L 8,4.5"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.MouseOver.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Stroke}"/>
|
|
<Setter Property="StrokeThickness" TargetName="circle" Value="1.5"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Pressed.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Disabled.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ExpanderRightHeaderStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Padding="{TemplateBinding Padding}">
|
|
<Grid Background="{StaticResource Grid.Static.ExpanderUp.Background}" SnapsToDevicePixels="False">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="19"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.LayoutTransform>
|
|
<TransformGroup>
|
|
<TransformGroup.Children>
|
|
<TransformCollection>
|
|
<RotateTransform Angle="-90"/>
|
|
</TransformCollection>
|
|
</TransformGroup.Children>
|
|
</TransformGroup>
|
|
</Grid.LayoutTransform>
|
|
<Ellipse x:Name="circle"
|
|
Fill="{StaticResource Expander.Static.Circle.Fill}"
|
|
HorizontalAlignment="Center"
|
|
Height="19"
|
|
Stroke="{StaticResource Expander.Static.Circle.Stroke}" VerticalAlignment="Center" Width="19"/>
|
|
<Path x:Name="arrow"
|
|
Data="M 1,1.5 L 4.5,5 L 8,1.5"
|
|
HorizontalAlignment="Center"
|
|
Stroke="{StaticResource Expander.Static.Arrow.Stroke}"
|
|
SnapsToDevicePixels="false" StrokeThickness="2" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<ContentPresenter HorizontalAlignment="Center" Margin="0,4,0,0" RecognizesAccessKey="True" Grid.Row="1" SnapsToDevicePixels="True" VerticalAlignment="Top"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="true">
|
|
<Setter Property="Data" TargetName="arrow" Value="M 1,4.5 L 4.5,1 L 8,4.5"/>
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.MouseOver.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.MouseOver.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="true">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Stroke}"/>
|
|
<Setter Property="StrokeThickness" TargetName="circle" Value="1.5"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Pressed.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Pressed.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Stroke" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Stroke}"/>
|
|
<Setter Property="Fill" TargetName="circle" Value="{StaticResource Expander.Disabled.Circle.Fill}"/>
|
|
<Setter Property="Stroke" TargetName="arrow" Value="{StaticResource Expander.Disabled.Arrow.Stroke}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style TargetType="{x:Type Expander}">
|
|
<Setter Property="Foreground" Value="{StaticResource Expander.Static.Foreground}"/>
|
|
<Setter Property="Background" Value="{StaticResource Expander.Static.Background}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Stretch"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Expander.Static.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Expander}">
|
|
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" SnapsToDevicePixels="true">
|
|
<DockPanel>
|
|
<ToggleButton x:Name="HeaderSite" ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" DockPanel.Dock="Top" FontStretch="{TemplateBinding FontStretch}" Foreground="{TemplateBinding Foreground}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" FontStyle="{TemplateBinding FontStyle}" FontFamily="{TemplateBinding FontFamily}" FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource Mode=TemplatedParent}}" Margin="1" MinWidth="0" MinHeight="0" Padding="{TemplateBinding Padding}" Style="{StaticResource ExpanderDownHeaderStyle}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
<ContentPresenter x:Name="ExpandSite" DockPanel.Dock="Bottom" Focusable="false" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Visibility="Collapsed"/>
|
|
</DockPanel>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsExpanded" Value="true">
|
|
<Setter Property="Visibility" TargetName="ExpandSite" Value="Visible"/>
|
|
</Trigger>
|
|
<Trigger Property="ExpandDirection" Value="Right">
|
|
<Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right"/>
|
|
<Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left"/>
|
|
<Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}"/>
|
|
</Trigger>
|
|
<Trigger Property="ExpandDirection" Value="Up">
|
|
<Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top"/>
|
|
<Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom"/>
|
|
<Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}"/>
|
|
</Trigger>
|
|
<Trigger Property="ExpandDirection" Value="Left">
|
|
<Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left"/>
|
|
<Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right"/>
|
|
<Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion Expander-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region TreeView-->
|
|
|
|
<Style x:Key="EgtManageDialog_TreeView" TargetType="{x:Type TreeView}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource TreeView.Static.EgtManageDialog.Background}"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="Margin" Value="10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningDB_TreeView" TargetType="{x:Type TreeView}">
|
|
<Setter Property="Background" Value="{StaticResource TreeView.Static.Background}"/>
|
|
</Style>
|
|
|
|
<!--#endregion TreeView-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Border-->
|
|
|
|
<!--#region Optimizer-->
|
|
|
|
<Style x:Key="Optimizer_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource Border.Static.Optmizer.Border}"/>
|
|
<Setter Property="CornerRadius" Value="4"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NewOpenProjectFileDialog_Border" TargetType="{x:Type Border}" BasedOn="{StaticResource Optimizer_Border}">
|
|
<Setter Property="Margin" Value="1"/>
|
|
</Style>
|
|
|
|
<!--#endregion Optimizer-->
|
|
|
|
<Style x:Key="EgtManageDialog_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource Border.Static.EgtManageDialog.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
</Style>
|
|
|
|
<Style x:Key="TitleBar_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{StaticResource Border.Static.TitleBar.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Border.Static.TitleBar.Border}"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AboutBoxV_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource Border.Static.AboutBoxV.Border}"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="AboutBox_Border" TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="{StaticResource Border.Static.AboutBox.Border}"/>
|
|
</Style>
|
|
|
|
<!--#endregion Border-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region StatusBar-->
|
|
|
|
<Style x:Key="StatusBar_StatusBar" TargetType="{x:Type StatusBar}">
|
|
<Setter Property="Background" Value="{StaticResource StatusBar.Static.Background}"/>
|
|
</Style>
|
|
|
|
<!--#endregion StatusBar-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region ProgressBar-->
|
|
|
|
<Style x:Key="StatusBar_ProgressBar" TargetType="{x:Type ProgressBar}">
|
|
<Setter Property="Width" Value="150"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
</Style>
|
|
|
|
<Style x:Key="NestingRunningWndV_ProgressBar" TargetType="{x:Type ProgressBar}">
|
|
<Setter Property="Minimum" Value="0"/>
|
|
<Setter Property="Maximum" Value="100"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Margin" Value="40,0,40,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion ProgressBar-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region PasswordBox-->
|
|
|
|
<Style TargetType="{x:Type PasswordBox}">
|
|
<Setter Property="HorizontalContentAlignment" Value="Right"/>
|
|
<Setter Property="Margin" Value="0,0,0,5"/>
|
|
</Style>
|
|
|
|
<!--#endregion PasswordBox-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region DatePicker-->
|
|
|
|
<Style x:Key="Filter_DatePicker" TargetType="{x:Type DatePicker}">
|
|
<Setter Property="Background" Value="{StaticResource DatePicker.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource DatePicker.Static.Border}"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type DatePickerTextBox}">
|
|
<Setter Property="Background" Value="{StaticResource DatePickerTextBox.Static.Background}"/>
|
|
</Style>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<!--#endregion DatePicker-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Calendar-->
|
|
|
|
<Style x:Key="Filter_Calendar" TargetType="{x:Type Calendar}">
|
|
<Setter Property="Background" Value="{StaticResource Calendar.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource Calendar.Static.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
</Style>
|
|
|
|
<!--#endregion Calendar-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region DataGrid-->
|
|
|
|
<Style x:Key="Main_DataGridColumnHeader" TargetType="{x:Type DataGridColumnHeader}">
|
|
<Setter Property="Background" Value="{StaticResource DataGridColumnHeader.Static.Main.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource DataGridColumnHeader.Static.Main.Foreground}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
<Setter Property="FontSize" Value="15" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="Padding" Value="0,2,0,2" />
|
|
</Style>
|
|
|
|
<Style x:Key="Feature_DataGridColumnHeader" TargetType="{x:Type DataGridColumnHeader}">
|
|
<Setter Property="Background" Value="{StaticResource DataGridColumnHeader.Static.Feature.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource DataGridColumnHeader.Static.Feature.Foreground}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
<Setter Property="FontSize" Value="15" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="Padding" Value="0,2,0,2" />
|
|
</Style>
|
|
|
|
<Style x:Key="PParam_DataGridColumnHeader" TargetType="{x:Type DataGridColumnHeader}">
|
|
<Setter Property="Background" Value="{StaticResource DataGridColumnHeader.Static.PParam.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource DataGridColumnHeader.Static.PParam.Foreground}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
<Setter Property="FontSize" Value="15" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="Padding" Value="0,2,0,2" />
|
|
</Style>
|
|
|
|
<Style x:Key="RawPart_DataGridColumnHeader" TargetType="{x:Type DataGridColumnHeader}">
|
|
<Setter Property="Background" Value="{StaticResource DataGridColumnHeader.Static.RawPart.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource DataGridColumnHeader.Static.RawPart.Foreground}" />
|
|
<Setter Property="FontWeight" Value="SemiBold" />
|
|
<Setter Property="FontSize" Value="11" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="Padding" Value="0,2,0,2" />
|
|
</Style>
|
|
|
|
<Style x:Key="Optimizer_DataGrid" TargetType="{x:Type DataGrid}">
|
|
<Setter Property="Background" Value="{StaticResource DataGrid.Static.Background}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource DataGrid.Static.Foreground}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource DataGrid.Static.Border}"/>
|
|
<Setter Property="BorderThickness" Value="0,0,0,0"/>
|
|
<Setter Property="RowDetailsVisibilityMode" Value="VisibleWhenSelected"/>
|
|
<Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
|
|
<Setter Property="ScrollViewer.PanningMode" Value="Both"/>
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
|
|
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
|
|
<Setter Property="HeadersVisibility" Value="Column" />
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="CanUserAddRows" Value="False"/>
|
|
<Setter Property="CanUserResizeRows" Value="False"/>
|
|
<Setter Property="AutoGenerateColumns" Value="False"/>
|
|
<Setter Property="VirtualizingPanel.IsVirtualizing" Value="True"/>
|
|
<Setter Property="VirtualizingPanel.VirtualizationMode" Value="Recycling"/>
|
|
<Setter Property="EnableRowVirtualization" Value="True"/>
|
|
<Setter Property="VirtualizingStackPanel.ScrollUnit" Value="Pixel"/>
|
|
<Setter Property="RowHeight" Value="24"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type DataGrid}">
|
|
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="True">
|
|
<ScrollViewer x:Name="DG_ScrollViewer" Focusable="false">
|
|
<ScrollViewer.Template>
|
|
<ControlTemplate TargetType="{x:Type ScrollViewer}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<Button Command="{x:Static DataGrid.SelectAllCommand}" Focusable="false" Style="{DynamicResource {ComponentResourceKey ResourceId=DataGridSelectAllButtonStyle, TypeInTargetAssembly={x:Type DataGrid}}}" Visibility="{Binding HeadersVisibility, ConverterParameter={x:Static DataGridHeadersVisibility.All}, Converter={x:Static DataGrid.HeadersVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" Width="{Binding CellsPanelHorizontalOffset, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/>
|
|
<DataGridColumnHeadersPresenter x:Name="PART_ColumnHeadersPresenter" Grid.Column="1" Visibility="{Binding HeadersVisibility, ConverterParameter={x:Static DataGridHeadersVisibility.Column}, Converter={x:Static DataGrid.HeadersVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/>
|
|
<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" Grid.ColumnSpan="2" Grid.Row="1"/>
|
|
<ScrollBar x:Name="PART_VerticalScrollBar" Grid.Column="2" Maximum="{TemplateBinding ScrollableHeight}" Orientation="Vertical" Grid.Row="1" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource Mode=TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"/>
|
|
<Grid Grid.Column="1" Grid.Row="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="{Binding NonFrozenColumnsViewportHorizontalOffset, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ScrollBar x:Name="PART_HorizontalScrollBar" Grid.Column="1" Maximum="{TemplateBinding ScrollableWidth}" Orientation="Horizontal" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource Mode=TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"/>
|
|
</Grid>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</ScrollViewer.Template>
|
|
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="IsGrouping" Value="true"/>
|
|
<Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
|
|
</MultiTrigger>
|
|
</Style.Triggers>
|
|
<Style.Resources>
|
|
<Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource Optimizer_ScrollBar}"/>
|
|
</Style.Resources>
|
|
</Style>
|
|
|
|
<Style x:Key="RowDataGrid_CustomHighLight" TargetType="{x:Type DataGridRow}">
|
|
<Setter Property="Foreground" Value="{StaticResource RowDataGrid.Static.Foreground}" />
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource RowDataGrid.Selected.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource RowDataGrid.Selected.Foreground}" />
|
|
<Setter Property="BorderBrush" Value="{StaticResource RowDataGrid.Selected.Border}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="CellDataGrid_CustomHighLight" TargetType="{x:Type DataGridCell}">
|
|
<Setter Property="Foreground" Value="{StaticResource CellDataGrid.Static.Foreground}" />
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource CellDataGrid.Selected.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource CellDataGrid.Selected.Foreground}" />
|
|
<Setter Property="BorderBrush" Value="{StaticResource CellDataGrid.Selected.Border}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="CellDataGrid_NewOpenProject" TargetType="{x:Type DataGridCell}">
|
|
<Setter Property="Foreground" Value="{StaticResource CellDataGrid.Static.Foreground}" />
|
|
<Setter Property="Height" Value="24"/>
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
<Setter Property="TextBlock.TextAlignment" Value="Left"/>
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource CellDataGrid.Selected.Background}" />
|
|
<Setter Property="Foreground" Value="{StaticResource CellDataGrid.Selected.Foreground}" />
|
|
<Setter Property="BorderBrush" Value="{StaticResource CellDataGrid.Selected.Border}" />
|
|
<Setter Property="FontWeight" Value="Bold" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<!--#endregion DataGrid-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region EgtWindow-->
|
|
|
|
<Grid x:Key="OptimizerWindow.Path.Maximize">
|
|
<Path Width="46"
|
|
Height="32"
|
|
Data="M 18.5,12.5 H 25.5 V 19.5 H 18.5 Z M 20.5,12.5 V 10.5 H 27.5 V 17.5 H 25.5"
|
|
Stroke="{Binding Path=Foreground,
|
|
RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
|
StrokeThickness="1" />
|
|
</Grid>
|
|
|
|
<Grid x:Key="OptimizerWindow.Path.Normal">
|
|
<Path Width="46"
|
|
Height="32"
|
|
Data="M 18.5,10.5 H 27.5 V 19.5 H 18.5 Z"
|
|
Stroke="{Binding Path=Foreground,
|
|
RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
|
StrokeThickness="1" />
|
|
</Grid>
|
|
|
|
<ControlTemplate x:Key="OptimizerWindow.ControlTemplate.WithTitleBar" TargetType="{x:Type EgwWPFBaseLib:EgtWindow}">
|
|
<Border BorderThickness="{TemplateBinding BorderThickness}"
|
|
BorderBrush="{StaticResource Border.EgwWindow.Border}"
|
|
Background="{TemplateBinding Background}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="{Binding TitleBarHeight, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALLCORE:OptimizerWindow}}}"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<Border Grid.Column="0"
|
|
Grid.ColumnSpan="6"
|
|
BorderThickness="0"
|
|
BorderBrush="{StaticResource Border.ControlTemplete.Border}"
|
|
Background="{StaticResource Border.ControlTemplete.Background}"/>
|
|
<Image Grid.Column="0"
|
|
MinWidth="{Binding ActualHeight, RelativeSource={RelativeSource Self}}"
|
|
Source="{TemplateBinding Icon}"/>
|
|
<ContentControl Grid.Column="1"
|
|
Content="{TemplateBinding TitlePanel}"/>
|
|
<TextBlock Grid.Column="2"
|
|
Margin="4 0 0 0"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
FontSize="14"
|
|
Text="{TemplateBinding Title}">
|
|
<TextBlock.Style>
|
|
<Style TargetType="TextBlock">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsActive, RelativeSource={RelativeSource AncestorType=Window}}" Value="False">
|
|
<Setter Property="Foreground" Value="{DynamicResource WindowTitleBarInactiveText}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
<Button Grid.Column="3"
|
|
Name="PART_MinimizeBtn"
|
|
RenderOptions.EdgeMode="Aliased"
|
|
Style="{StaticResource Button.OptimizerWindow.TitleBar}">
|
|
<Path Width="46"
|
|
Height="32"
|
|
Data="M 18,15 H 28"
|
|
Stroke="{Binding Path=Foreground,
|
|
RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
|
StrokeThickness="1" />
|
|
</Button>
|
|
<Button Grid.Column="4"
|
|
Name="PART_MaximizeRestoreBtn">
|
|
<Button.Style>
|
|
<Style TargetType="Button" BasedOn="{StaticResource Button.OptimizerWindow.TitleBar}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding WindowState, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type EgtBEAMWALLCORE:OptimizerWindow}}}" Value="Maximized">
|
|
<Setter Property="Content" Value="{StaticResource OptimizerWindow.Path.Maximize}" />
|
|
</DataTrigger>
|
|
<DataTrigger Binding="{Binding WindowState, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type EgtBEAMWALLCORE:OptimizerWindow}}}" Value="Normal">
|
|
<Setter Property="Content" Value="{StaticResource OptimizerWindow.Path.Normal}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Button.Style>
|
|
</Button>
|
|
<Button Grid.Column="5"
|
|
Name="PART_CloseBtn"
|
|
Style="{StaticResource Button.OptimizerWindow.TitleBar}">
|
|
<Path Width="46"
|
|
Height="32"
|
|
Data="M 18,11 27,20 M 18,20 27,11"
|
|
Stroke="{Binding Path=Foreground,
|
|
RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
|
StrokeThickness="1" />
|
|
</Button>
|
|
</Grid>
|
|
<ContentPresenter Grid.Row="1"
|
|
Content="{TemplateBinding Content}"/>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
|
|
<ControlTemplate x:Key="OptimizerWindow.ControlTemplate.WithoutTitleBar" TargetType="{x:Type EgwWPFBaseLib:EgtWindow}">
|
|
<Border BorderThickness="{TemplateBinding BorderThickness}"
|
|
BorderBrush="{StaticResource Border.ControlTemplete.Border}"
|
|
Background="{StaticResource Border.WithoutTitleBar.Background}">
|
|
<ContentPresenter Grid.Row="1"
|
|
Content="{TemplateBinding Content}"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
|
|
<Style TargetType="{x:Type EgtBEAMWALLCORE:OptimizerWindow}" BasedOn="{StaticResource {x:Type EgwWPFBaseLib:EgtWindow}}">
|
|
<Setter Property="Background" Value="{StaticResource OptimizerWindow.Static.Background}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource OptimizerWindow.Static.Foreground}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource OptimizerWindow.Static.Border}"/>
|
|
<Setter Property="TitleBarHeight" Value="45"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="IsMinimizable" Value="True"/>
|
|
<Setter Property="Icon" Value="pack://application:,,,/EgtBEAMWALL.Core;component/Resources/EgalwareLogo.ico"/>
|
|
<Setter Property="WindowChrome.WindowChrome">
|
|
<Setter.Value>
|
|
<WindowChrome CaptionHeight="{Binding TitleBarHeight, RelativeSource={RelativeSource AncestorType={x:Type EgwWPFBaseLib:EgtWindow}}}"
|
|
GlassFrameThickness="0"
|
|
CornerRadius="0"
|
|
ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}"/>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="Template" Value="{StaticResource OptimizerWindow.ControlTemplate.WithTitleBar}"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="WindowStyle" Value="None">
|
|
<Setter Property="Template" Value="{StaticResource OptimizerWindow.ControlTemplate.WithoutTitleBar}"/>
|
|
</Trigger>
|
|
<Trigger Property="WindowState" Value="Maximized">
|
|
<Setter Property="BorderThickness" Value="7"/>
|
|
<Setter Property="Template" Value="{StaticResource OptimizerWindow.ControlTemplate.WithTitleBar}"/>
|
|
</Trigger>
|
|
<MultiTrigger>
|
|
<MultiTrigger.Conditions>
|
|
<Condition Property="WindowState" Value="Maximized"/>
|
|
<Condition Property="WindowStyle" Value="None"/>
|
|
</MultiTrigger.Conditions>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Template" Value="{StaticResource OptimizerWindow.ControlTemplate.WithoutTitleBar}"/>
|
|
</MultiTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="OptimizerWindow.Dialog" TargetType="{x:Type EgtBEAMWALLCORE:OptimizerWindow}">
|
|
<Setter Property="IsMinimizable" Value="False"/>
|
|
<Setter Property="IsResizable" Value="False"/>
|
|
</Style>
|
|
|
|
<Style x:Key="OptimizerWindow.Dialog.NoClose" TargetType="{x:Type EgtBEAMWALLCORE:OptimizerWindow}">
|
|
<Setter Property="IsMinimizable" Value="False"/>
|
|
<Setter Property="IsResizable" Value="False"/>
|
|
<Setter Property="IsClosable" Value="False"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtWindow-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region EgtCustomWindow-->
|
|
|
|
<Style x:Key="OnlyProd_EgtCustomWindow" TargetType="{x:Type EgtWPFLib5:EgtCustomWindow}" BasedOn="{StaticResource {x:Type EgtWPFLib5:EgtCustomWindow}}">
|
|
<Setter Property="Background" Value="{StaticResource EgtCustomWindow.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource EgtCustomWindow.Static.Border}"/>
|
|
<Setter Property="TitleBarForeground" Value="{StaticResource EgtCustomWindow.Static.TitleBarForeground}"/>
|
|
<Setter Property="TitleBarBrush" Value="{StaticResource EgtCustomWindow.Static.TitleBarBorder}"/>
|
|
<Setter Property="TitleBarHeight" Value="40"/>
|
|
<Setter Property="ShowInTaskbar" Value="False"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtCustomWindow-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region EgtFloatingPanel -->
|
|
|
|
<Style x:Key="ToolBar_EgtFloatingPanel" TargetType="{x:Type EgtFloating:EgtFloatingPanel}" BasedOn="{StaticResource {x:Type EgtFloating:EgtFloatingPanel}}">
|
|
<Setter Property="Background" Value="{StaticResource EgtFloatingPanel.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource EgtFloatingPanel.Static.Border}"/>
|
|
</Style>
|
|
|
|
<!--#endregion EgtFloatingPanel -->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region EgtHexagon-->
|
|
|
|
<Style x:Key="EgtHexItem" TargetType="{x:Type EgtWPFLib5:EgtHexItem}">
|
|
<Setter Property="Background" Value="{StaticResource EgtHexItem.Static.Background}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource EgtHexItem.Static.Border}"/>
|
|
<Setter Property="BorderThickness" Value="1.5"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type EgtWPFLib5:EgtHexItem}">
|
|
<Grid Name="hexBorder" Background="{TemplateBinding BorderBrush}">
|
|
<Grid.Clip>
|
|
<MultiBinding Converter="{StaticResource ClipConverter}">
|
|
<Binding Path="ActualWidth" ElementName="hexBorder"/>
|
|
<Binding Path="ActualHeight" ElementName="hexBorder"/>
|
|
<Binding Path="Orientation" RelativeSource="{RelativeSource TemplatedParent}"/>
|
|
</MultiBinding>
|
|
</Grid.Clip>
|
|
|
|
<Grid Name="hexContent"
|
|
Background="{TemplateBinding Background}"
|
|
Margin="{TemplateBinding BorderThickness}"
|
|
VerticalAlignment="Stretch"
|
|
HorizontalAlignment="Stretch">
|
|
<Grid.Clip>
|
|
<MultiBinding Converter="{StaticResource ClipConverter}">
|
|
<Binding Path="ActualWidth" ElementName="hexContent"/>
|
|
<Binding Path="ActualHeight" ElementName="hexContent"/>
|
|
<Binding Path="Orientation" RelativeSource="{RelativeSource TemplatedParent}"/>
|
|
</MultiBinding>
|
|
</Grid.Clip>
|
|
|
|
<ContentPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
ClipToBounds="True"
|
|
Margin="{TemplateBinding Padding}"
|
|
Content="{TemplateBinding Content}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"/>
|
|
</Grid>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="BorderBrush" Value="{StaticResource Border.EgtHexItem.Border}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--HexList-->
|
|
<Style x:Key="EgtHexList" TargetType="{x:Type EgtWPFLib5:EgtHexList}">
|
|
<Setter Property="Orientation" Value="Vertical"/>
|
|
<Setter Property="RowCount" Value="13"/>
|
|
<Setter Property="ColumnCount" Value="13"/>
|
|
<Setter Property="Width" Value="350"/>
|
|
<Setter Property="Height" Value="300"/>
|
|
<Setter Property="Margin" Value="2.5"/>
|
|
<Setter Property="ItemsPanel">
|
|
<Setter.Value>
|
|
<ItemsPanelTemplate>
|
|
<EgtWPFLib5:EgtHexagon ColumnCount="{Binding Path=ColumnCount, RelativeSource={RelativeSource AncestorType=ListBox}}"
|
|
RowCount="{Binding Path=RowCount, RelativeSource={RelativeSource AncestorType=ListBox}}"
|
|
Background="{Binding Path=Background, RelativeSource={RelativeSource AncestorType=ListBox}}"/>
|
|
</ItemsPanelTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type EgtWPFLib5:EgtHexList}">
|
|
<Grid>
|
|
<Border BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Background="{TemplateBinding Background}"
|
|
Padding="{TemplateBinding Padding}"
|
|
SnapsToDevicePixels="True">
|
|
<ScrollViewer Focusable="False"
|
|
HorizontalScrollBarVisibility="Auto"
|
|
VerticalScrollBarVisibility="Auto"
|
|
Padding="{TemplateBinding Padding}">
|
|
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!--#endregion EgtHexagon-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Image-->
|
|
|
|
<Style x:Key="BTLDataWnd_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Button_Image" TargetType="{x:Type Image}" BasedOn="{StaticResource BTLDataWnd_Image}">
|
|
<Setter Property="Height" Value="15"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Source_Image" TargetType="{x:Type Image}" BasedOn="{StaticResource Button_Image}">
|
|
<Setter Property="Margin" Value="2.5,0,2.5,0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Archived_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Width" Value="15"/>
|
|
<Setter Property="Height" Value="15"/>
|
|
<Setter Property="Stretch" Value="UniformToFill"/>
|
|
</Style>
|
|
|
|
<Style x:Key="Lock_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Source" Value="/Resources/PartManager/Locked.png"/>
|
|
<Setter Property="Height" Value="15"/>
|
|
<Setter Property="Stretch" Value="Uniform"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsEnabled,RelativeSource={RelativeSource self}}" Value="False">
|
|
<Setter Property="Source" Value="/Resources/PartManager/Unlocked.png"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style x:Key="MachiningDB_Image" TargetType="{x:Type Image}">
|
|
<Setter Property="Width" Value="20"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Margin" Value="0,0,5,0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Image-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Ellipse-->
|
|
|
|
<Style x:Key="SetUp_Ellipse" TargetType="{x:Type Ellipse}">
|
|
<Setter Property="Width" Value="10"/>
|
|
<Setter Property="Height" Value="10"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FeatureInPartInRawPartList_Ellipse" TargetType="{x:Type Ellipse}">
|
|
<Setter Property="Fill" Value="{StaticResource Ellipse.Static.Fill}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Width" Value="5"/>
|
|
<Setter Property="Height" Value="5"/>
|
|
</Style>
|
|
|
|
<!--#endregion Ellipse-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
<!--#region Rectangle-->
|
|
|
|
<Style x:Key="EgtColorPicker_Rectangle" TargetType="{x:Type Rectangle}">
|
|
<Setter Property="Stroke" Value="{StaticResource Rectangle.EgtColorPicker.Stroke}"/>
|
|
<Setter Property="StrokeThickness" Value="0.5"/>
|
|
<Setter Property="Width" Value="20"/>
|
|
<Setter Property="Height" Value="20"/>
|
|
<Setter Property="Margin" Value="2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="CurrColor_Rectangle" TargetType="{x:Type Rectangle}" BasedOn="{StaticResource EgtColorPicker_Rectangle}">
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Height" Value="70"/>
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<!--#endregion Rectangle-->
|
|
|
|
<!-- ______________________________________________________________________________________________________________________________________________ -->
|
|
|
|
</ResourceDictionary>
|