|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102 |
- <ResourceDictionary
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero">
-
- <!--#region Color-->
- <SolidColorBrush x:Key="foreground" Color="#a2c2e8" />
- <SolidColorBrush x:Key="borderBrush" Color="#FF074B92" />
- <SolidColorBrush x:Key="Titleforeground" Color="#FF07D7FF" />
- <SolidColorBrush x:Key="DataGridColumnHeaderColor" Color="#00c2f4" />
- <SolidColorBrush x:Key="LabelColor" Color="#FF00EEF3" />
- <SolidColorBrush x:Key="MainTitleforeground" Color="#feffff" />
- <SolidColorBrush x:Key="ButtonSelectForeground" Color="#4fade8" />
- <SolidColorBrush x:Key="ButtonUnSelectForeground" Color="#3afdff" />
- <SolidColorBrush x:Key="MeunSelectForeground" Color="#8f723c" />
- <SolidColorBrush x:Key="MeunUnSelectForeground" Color="White" />
-
- <!--<SolidColorBrush x:Key="foreground" Color="Red" />
- <SolidColorBrush x:Key="borderBrush" Color="Red" />
- <SolidColorBrush x:Key="Titleforeground" Color="Red" />
- <SolidColorBrush x:Key="LabelColor" Color="Red" />
- <SolidColorBrush x:Key="DataGridColumnHeaderColor" Color="Red"/>
- <SolidColorBrush x:Key="MainTitleforeground" Color="Red"/>
- <SolidColorBrush x:Key="ButtonSelectForeground" Color="Red"/>
- <SolidColorBrush x:Key="ButtonUnSelectForeground" Color="Red"/>
- <SolidColorBrush x:Key="MeunSelectForeground" Color="Red"/>
- <SolidColorBrush x:Key="MeunUnSelectForeground" Color="Red"/>-->
- <!--#endregion-->
-
- <!--#region Label-->
- <Style TargetType="{x:Type Label}">
- <Setter Property="Foreground" Value="{DynamicResource LabelColor}" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="Padding" Value="5" />
- <Setter Property="HorizontalContentAlignment" Value="Left" />
- <Setter Property="VerticalContentAlignment" Value="Top" />
- <Setter Property="FontSize" Value="18" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type Label}">
- <Border
- Padding="{TemplateBinding Padding}"
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="{TemplateBinding BorderThickness}"
- SnapsToDevicePixels="true">
- <ContentPresenter
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- RecognizesAccessKey="True"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- </Border>
- <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-->
-
- <!--#region ToggleButton-->
- <Style x:Key="StatusBtnStyle告警" TargetType="ToggleButton">
- <Style.Setters>
- <Setter Property="Width" Value="30" />
- <Setter Property="Height" Value="19" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="IsChecked" Value="{Binding IsCheck, Mode=TwoWay}" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="ToggleButton">
- <Grid Cursor="Hand">
- <Border
- x:Name="bd1"
- Width="25"
- Height="13"
- Margin="0,-10,-5,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Top"
- Panel.ZIndex="100"
- Background="#2600CAFF"
- CornerRadius="3"
- Cursor="Hand"
- Visibility="Collapsed">
- <TextBlock
- HorizontalAlignment="Center"
- FontSize="8"
- Foreground="#FF00E6F7"
- Text="{Binding ListNum, Mode=TwoWay}" />
- <!-- -->
- </Border>
- <Image
- x:Name="image1"
- Width="{TemplateBinding Width}"
- Height="{TemplateBinding Height}"
- Panel.ZIndex="0"
- RenderOptions.BitmapScalingMode="HighQuality"
- SnapsToDevicePixels="True"
- Source="/BPASmartClient.CustomResource;component/Image/告警/无告警.png"
- UseLayoutRounding="True" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsChecked" Value="true">
- <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/严重告警.png" />
- <Setter TargetName="bd1" Property="Visibility" Value="Visible" />
- </Trigger>
- <Trigger Property="IsChecked" Value="False">
- <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/无告警.png" />
- <Setter TargetName="bd1" Property="Visibility" Value="Collapsed" />
- </Trigger>
- <MultiDataTrigger>
- <MultiDataTrigger.Conditions>
- <Condition Binding="{Binding IsCheck}" Value="true" />
- <Condition Binding="{Binding IsAlarm}" Value="true" />
- </MultiDataTrigger.Conditions>
- <MultiDataTrigger.Setters>
- <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/严重告警.png" />
- <Setter TargetName="bd1" Property="Visibility" Value="Visible" />
- </MultiDataTrigger.Setters>
- </MultiDataTrigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="StatusBtnStyle网络连接状态" TargetType="ToggleButton">
- <Style.Setters>
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="25" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="IsChecked" Value="{Binding IsCheck, Mode=TwoWay}" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="ToggleButton">
- <Grid Cursor="Hand">
- <Image
- x:Name="image1"
- Width="{TemplateBinding Width}"
- Height="{TemplateBinding Height}"
- Panel.ZIndex="0"
- RenderOptions.BitmapScalingMode="HighQuality"
- SnapsToDevicePixels="True"
- Source="/BPASmartClient.CustomResource;component/Image/告警/Wifi_NO.png"
- UseLayoutRounding="True" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsChecked" Value="true">
- <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/Wifi_OK.png" />
- </Trigger>
- <MultiDataTrigger>
- <MultiDataTrigger.Conditions>
- <Condition Binding="{Binding IsCheck}" Value="true" />
- <Condition Binding="{Binding IsAlarm}" Value="true" />
- </MultiDataTrigger.Conditions>
- <MultiDataTrigger.Setters>
- <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/Wifi_OK.png" />
- </MultiDataTrigger.Setters>
- </MultiDataTrigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
- <!--#endregion-->
-
- <!--#region Image-->
- <ImageBrush x:Key="imageBJ" ImageSource="/BPASmartClient.CustomResource;component/Image/图层1.png" />
- <ImageBrush x:Key="image1" ImageSource="/BPASmartClient.CustomResource;component/Image/shape.png" />
- <ImageBrush x:Key="image2" ImageSource="/BPASmartClient.CustomResource;component/Image/shape1.png" />
- <Style x:Key="image完成" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Stretch" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/Cb_Checked.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image墙" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Stretch" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/AGV/墙.png" />
- </Style.Setters>
- </Style>
-
- <Style TargetType="Image">
- <Style.Setters>
- <Setter Property="UseLayoutRounding" Value="True" />
- <Setter Property="SnapsToDevicePixels" Value="True" />
- <Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_工艺流程" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Stretch" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/工艺流程.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_维护" TargetType="Image">
- <Style.Setters>
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="22" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/维护.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_功能列表" TargetType="Image">
- <Style.Setters>
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="22" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/功能列表.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_产品制作" TargetType="Image">
- <Style.Setters>
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="22" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/产品制作.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_L" TargetType="Image">
- <Style.Setters>
- <Setter Property="Height" Value="80" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部切图/Top_L.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_Title" TargetType="Image">
- <Style.Setters>
- <Setter Property="Width" Value="250" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部切图/自动化产线上位机控制系统.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop_矩形" TargetType="Image">
- <Style.Setters>
-
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部切图/顶部矩形.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/topTitle.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetop1" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image营销额" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/营销额.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="imagetitletext" TargetType="Image">
- <Style.Setters>
- <Setter Property="Height" Value="20" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/titletext.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image圆角矩形" TargetType="Image">
- <Style.Setters>
- <Setter Property="Height" Value="33" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/圆角矩形 4.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image黑菠萝科技" TargetType="Image">
- <Style.Setters>
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="Height" Value="24" />
- <Setter Property="Width" Value="70" />
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/黑菠萝科技.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="MainBJ" TargetType="Image">
- <Style.Setters>
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/背景图片.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="TitleImage" TargetType="Image">
- <Style.Setters>
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/hbl.ico" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="timeImage" TargetType="Image">
- <Style.Setters>
- <Setter Property="Width" Value="20" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/日期1.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image文字" TargetType="Image">
- <Style.Setters>
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/文字.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image底部科技背景" TargetType="Image">
- <Style.Setters>
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/底部背景.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image个人信息" TargetType="Image">
- <Style.Setters>
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/个人信息.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image维护" TargetType="Image">
- <Style.Setters>
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/维护.png" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="image标题其他" TargetType="Image">
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部矩形.png" />
- <Setter Property="Height" Value="12" />
- </Style>
-
- <Style x:Key="image告警" TargetType="Image">
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警.png" />
- <Setter Property="Height" Value="24" />
- </Style>
-
- <Style x:Key="image有告警" TargetType="Image">
-
- <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/有告警.png" />
- <Setter Property="Height" Value="30" />
-
- </Style>
- <!--#endregion-->
-
- <!--#region Border-->
- <Style x:Key="border车" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="80" />
- <Setter Property="Width" Value="80" />
- <Setter Property="RenderTransformOrigin" Value="0.5,0.5" />
- <Setter Property="RenderTransform">
- <Setter.Value>
- <TransformGroup>
- <ScaleTransform ScaleX="0.8" ScaleY="-0.6" />
- <SkewTransform AngleY="0" />
- <RotateTransform Angle="180" />
- <TranslateTransform X="1" Y="0.5" />
- </TransformGroup>
- </Setter.Value>
- </Setter>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/agv.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border停车位" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="80" />
- <Setter Property="Width" Value="80" />
- <Setter Property="RenderTransformOrigin" Value="0.5,0.5" />
- <Setter Property="RenderTransform">
- <Setter.Value>
- <TransformGroup>
- <ScaleTransform />
- <SkewTransform AngleY="20" />
- <RotateTransform />
- <TranslateTransform />
- </TransformGroup>
- </Setter.Value>
- </Setter>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/停车位.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border充电桩" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="60" />
- <Setter Property="Width" Value="60" />
- <Setter Property="Margin" Value="0,20,0,0" />
- <Setter Property="RenderTransformOrigin" Value="0.5,0.5" />
- <Setter Property="RenderTransform">
- <Setter.Value>
- <TransformGroup>
- <ScaleTransform />
- <SkewTransform AngleY="20" />
- <RotateTransform />
- <TranslateTransform />
- </TransformGroup>
- </Setter.Value>
- </Setter>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/充电桩.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
-
- <Style x:Key="border炒锅" TargetType="Border">
- <Style.Setters>
- <Setter Property="Margin" Value="60,0,0,20" />
- <Setter Property="Height" Value="80" />
- <Setter Property="Width" Value="80" />
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/炒锅.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border炒锅2" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="100" />
- <Setter Property="Width" Value="100" />
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/炒锅2.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border碗" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="80" />
- <Setter Property="Width" Value="40" />
- <Setter Property="Margin" Value="0,-20,0,-20" />
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/汤碗.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border菜" TargetType="Border">
- <Style.Setters>
- <Setter Property="Margin" Value="0,-17,0,0" />
- <Setter Property="Height" Value="30" />
- <Setter Property="Width" Value="35" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/蔬菜.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border垂直墙" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush
- ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/砖块.png"
- Stretch="UniformToFill"
- TileMode="FlipY"
- Viewport="0, 0, 1, 0.03"
- ViewportUnits="RelativeToBoundingBox" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border水平墙" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush
- ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/砖块.png"
- Stretch="UniformToFill"
- TileMode="FlipY"
- Viewport="0, 0, 0.02, 1"
- ViewportUnits="RelativeToBoundingBox" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border垂直墙1" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush
- ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/砖块.png"
- Stretch="UniformToFill"
- TileMode="FlipY"
- Viewport="0, 0, 1, 0.1"
- ViewportUnits="RelativeToBoundingBox" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border水平墙1" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush
- ImageSource="/BPASmartClient.CustomResource;component/Image/AGV/砖块.png"
- Stretch="UniformToFill"
- TileMode="FlipY"
- Viewport="0, 0, 0.1, 1"
- ViewportUnits="RelativeToBoundingBox" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="FromBJ" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/窗体背景.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="button_no" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/Button_No.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="button_select" TargetType="Border">
- <Style.Setters>
-
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/Button_Select.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="bordertopL" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="80" />
- <Setter Property="Width" Value="300" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Left" />
-
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/Top_L.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border阴影边框" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="50" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/阴影边框.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border阴影边框扩展" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/阴影边框.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border边角" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/边角.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="bordertop矩形" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/顶部矩形.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="bordertopTitle" TargetType="Border">
- <Style.Setters>
- <Setter Property="Height" Value="100" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/topTitle.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="borderFromTitle" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/tittle.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景1" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景1.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景2" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景2.png" Stretch="Uniform" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="borderPop_bg" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border背景two" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景2.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景3" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush
- ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景3.png"
- Opacity="1"
- Stretch="Fill"
- TileMode="FlipX"
- Viewbox="0,0,1,1"
- ViewboxUnits="RelativeToBoundingBox" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景4" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景4.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景5" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景5.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景6" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景6.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border窗体背景7" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景7.png" Stretch="None" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border圆角矩形" TargetType="Border">
- <Style.Setters>
- <Setter Property="BorderThickness" Value="3" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/圆角矩形.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border不规则矩形" TargetType="Border">
- <Style.Setters>
- <Setter Property="BorderThickness" Value="0.5" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/不规则矩形.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border矩形" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border顶部背景" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部背景.png" />
- </Setter.Value>
- </Setter>
- <Setter Property="BorderBrush">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部线条.png" />
- </Setter.Value>
- </Setter>
- <Setter Property="BorderThickness" Value="0,0,0,1" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="border标题背景" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/标题背景.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border主窗体背景" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="boreder奶茶背景" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景矢量/beijing.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border界面背景" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/窗体背景2.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border顶部标题背景" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border竖线" TargetType="Border">
- <Style.Setters>
- <Setter Property="Width" Value="1" />
- <Setter Property="Height" Value="40" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Margin" Value="5" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/竖线.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border内部" TargetType="Border">
- <Style.Setters>
- <Setter Property="Width" Value="320" />
-
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="VerticalAlignment" Value="Stretch" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Margin" Value="5" />
-
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/内部.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border矩形2" TargetType="Border">
- <Style.Setters>
- <Setter Property="Margin" Value="0,0,10,0" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Width" Value="92" />
- <Setter Property="Height" Value="46" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形1.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border矢量智能对象" TargetType="Border">
- <Style.Setters>
- <Setter Property="Width" Value="1" />
- <Setter Property="Height" Value="40" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Margin" Value="5" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景矢量/矢量智能对象.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border边框" TargetType="Border">
- <Style.Setters>
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形样式.png" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border边框2" TargetType="Border">
- <Style.Setters>
-
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/边框效果2.png" Stretch="Fill" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border右下" TargetType="Border">
- <Style.Setters>
- <Setter Property="HorizontalAlignment" Value="Right" />
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Height" Value="23" />
- <Setter Property="Width" Value="22" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/右下.png" Stretch="None" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border左下" TargetType="Border">
- <Style.Setters>
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Bottom" />
- <Setter Property="Height" Value="22" />
- <Setter Property="Width" Value="23" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/左下.png" Stretch="None" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border左上" TargetType="Border">
- <Style.Setters>
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="Height" Value="22" />
- <Setter Property="Width" Value="23" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/左边.png" Stretch="None" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="border右上" TargetType="Border">
- <Style.Setters>
- <Setter Property="HorizontalAlignment" Value="Right" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="Height" Value="23" />
- <Setter Property="Width" Value="22" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/右上.png" Stretch="None" />
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
- <!--#endregion-->
-
- <!--#region Button-->
- <Style x:Key="TitleBarStyle" TargetType="Button">
- <Setter Property="Foreground" Value="White" />
- <Setter Property="FontSize" Value="20" />
- <Setter Property="FontFamily" Value="/BPASmartClient.CustomResource;component/Fonts/#iconfont" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <Border Name="TitleBarBr" Background="Transparent">
- <ContentPresenter
- Margin="{TemplateBinding Margin}"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="TitleBarBr" Property="Background" Value="#22ffffff" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="CommonBtnStyle退出按钮" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="HorizontalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Width" Value="65" />
- <Setter Property="Height" Value="24" />
- <Setter Property="HorizontalAlignment" Value="Right" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <!--<ControlTemplate.Resources>
- <Storyboard x:Key="OnMouseEnter1">
- <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="BD">
- <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF139DDB"/>
- </ColorAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="BD">
- <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF135EC2"/>
- </ColorAnimationUsingKeyFrames>
- </Storyboard>
- </ControlTemplate.Resources>-->
- <Border x:Name="BD" CornerRadius="2">
- <Border.Background>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/退出按钮.png" />
- </Border.Background>
- <StackPanel
- Margin="5"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Image Width="16" Source="/BPASmartClient.CustomResource;component/Image/退出.png" />
- <TextBlock
- x:Name="textBlock"
- Margin="5,0,0,0"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- FontSize="14"
- Foreground="#A5FFFFFF"
- Text="{TemplateBinding Content}" />
- </StackPanel>
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup x:Name="CommonStates">
- <VisualState x:Name="Normal" />
- <VisualState x:Name="MouseOver">
- <Storyboard>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)">
- <EasingColorKeyFrame KeyTime="0" Value="White" />
- </ColorAnimationUsingKeyFrames>
- <!--<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="BD">
- <EasingColorKeyFrame KeyTime="0" Value="#FF135EC2"/>
- </ColorAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="BD">
- <EasingDoubleKeyFrame KeyTime="0" Value="0.007"/>
- </DoubleAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="BD">
- <EasingColorKeyFrame KeyTime="0" Value="#FF139DDB"/>
- </ColorAnimationUsingKeyFrames>-->
- </Storyboard>
- </VisualState>
- <VisualState x:Name="Pressed" />
- <VisualState x:Name="Disabled" />
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="CommonBtnStyle返回按钮" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="HorizontalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Width" Value="65" />
- <Setter Property="Height" Value="24" />
- <Setter Property="HorizontalAlignment" Value="Right" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <Border x:Name="BD" CornerRadius="2">
- <Border.Background>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/Tab/Tab_NoWZBJ.png" />
- </Border.Background>
- <StackPanel
- Margin="5"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Image Width="16" Source="/BPASmartClient.CustomResource;component/Image/退出.png" />
- <TextBlock
- x:Name="textBlock"
- Margin="5,0,0,0"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- Foreground="#A5FFFFFF"
- Text="{TemplateBinding Content}" />
- </StackPanel>
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup x:Name="CommonStates">
- <VisualState x:Name="Normal" />
- <VisualState x:Name="MouseOver">
- <Storyboard>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)">
- <EasingColorKeyFrame KeyTime="0" Value="White" />
- </ColorAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="Pressed" />
- <VisualState x:Name="Disabled" />
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="CommonBtn_1" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Foreground" Value="{DynamicResource foreground}" />
- <Setter Property="Width" Value="65" />
- <Setter Property="Height" Value="24" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <ControlTemplate.Resources>
- <Storyboard x:Key="OnMouseEnter1">
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="BD" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
- <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF139DDB" />
- </ColorAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="BD" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
- <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF135EC2" />
- </ColorAnimationUsingKeyFrames>
- </Storyboard>
- </ControlTemplate.Resources>
- <Border
- x:Name="BD"
- Background="Transparent"
- BorderBrush="#05408a"
- BorderThickness="1"
- CornerRadius="12">
- <TextBlock
- x:Name="textBlock"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- FontSize="12"
- Foreground="{DynamicResource foreground}"
- Text="{TemplateBinding Content}" />
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background" Value="#009dff" />
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource foreground}" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="BD" Property="Background" Value="#ff55" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" />
- <Setter Property="Height" Value="25" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <Border x:Name="BD" Cursor="Hand">
- <StackPanel
- HorizontalAlignment="Center"
- Cursor="Hand"
- Orientation="Horizontal">
- <!--<Border Width="16" Margin="5">
- <Border.Background>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮图标.png" />
- </Border.Background>
- </Border>-->
- <TextBlock
- x:Name="textBlock"
- Margin="10,0,10,0"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="{DynamicResource ButtonSelectForeground}"
- Text="{TemplateBinding Content}" />
- <!-- Text="{TemplateBinding Content}" -->
- </StackPanel>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮2.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" />
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮1.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonUnSelectForeground}" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="CommonBtn_返回" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" />
- <Setter Property="Width" Value="68" />
- <Setter Property="Height" Value="25" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <Border x:Name="BD" Cursor="Hand">
- <StackPanel
- Margin="5,0,10,0"
- HorizontalAlignment="Right"
- Orientation="Horizontal">
- <Border Width="16" Margin="5">
- <Border.Background>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮图标.png" />
- </Border.Background>
- </Border>
- <TextBlock
- x:Name="textBlock"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="{DynamicResource ButtonSelectForeground}"
- Text="{TemplateBinding Content}" />
- <!-- Text="{TemplateBinding Content}" -->
- </StackPanel>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮2.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" />
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮1.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonUnSelectForeground}" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style TargetType="{x:Type Separator}">
- <Setter Property="Height" Value="1" />
- <Setter Property="Margin" Value="0,4,0,4" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type Separator}">
- <Border>
- <Border.Background>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部线条.png" />
- </Border.Background>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
- <Style x:Key="CommonBtn_功能节点" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Margin" Value="10,5,10,5" />
-
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <StackPanel x:Name="BD" Orientation="Horizontal">
- <Image
- Width="24"
- Margin="5"
- Source="/BPASmartClient.CustomResource;component/Image/临时模板.png" />
- <TextBlock
- x:Name="textBlock"
- Margin="10,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontSize="12"
- Foreground="#00c1c3"
- Text="{TemplateBinding Content}" />
- <TextBlock
- x:Name="tex2tBlock"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="#4fade8"
- Text="{TemplateBinding Content}"
- Visibility="Collapsed" />
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="CommonBtn_产品制作" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <StackPanel x:Name="BD" Margin="5">
- <Image
- Width="24"
- Margin="5,10,5,0"
- Source="/BPASmartClient.CustomResource;component/Image/产品制作.png" />
- <TextBlock
- x:Name="textBlock"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="#4fade8"
- Text="{TemplateBinding Content}"
- Visibility="Collapsed" />
- <Separator Margin="0,10,0,0" />
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
-
- <Style x:Key="CommonBtn_功能列表" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <StackPanel x:Name="BD" Margin="5">
- <Image
- Width="24"
- Margin="5,10,5,0"
- Source="/BPASmartClient.CustomResource;component/Image/功能列表.png" />
- <TextBlock
- x:Name="textBlock"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="#4fade8"
- Text="{TemplateBinding Content}"
- Visibility="Collapsed" />
- <Separator Margin="0,10,0,0" />
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="CommonBtn_维护" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <StackPanel x:Name="BD" Margin="5">
- <Image
- Width="24"
- Margin="5,10,5,0"
- Source="/BPASmartClient.CustomResource;component/Image/维护.png" />
- <TextBlock
- x:Name="textBlock"
- VerticalAlignment="Center"
- FontSize="14"
- Foreground="#4fade8"
- Text="{TemplateBinding Content}"
- Visibility="Collapsed" />
- <Separator Margin="0,10,0,0" />
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
-
- <Style x:Key="Comm8" TargetType="Button">
- <Style.Setters>
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Foreground" Value="{DynamicResource foreground}" />
- <Setter Property="Width" Value="69" />
- <Setter Property="Height" Value="25" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <!--<ControlTemplate.Resources>
- <Storyboard x:Key="OnMouseEnter1">
- <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="BD">
- <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF139DDB"/>
- </ColorAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="BD">
- <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF135EC2"/>
- </ColorAnimationUsingKeyFrames>
- </Storyboard>
- </ControlTemplate.Resources>-->
- <Border x:Name="BD" Cursor="Hand">
- <TextBlock
- x:Name="textBlock"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- FontSize="12"
- Foreground="{DynamicResource foreground}"
- Text="{TemplateBinding Content}" />
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="White" />
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOff.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="#FFD7DCE0" />
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="BD" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
- </Setter.Value>
- </Setter>
- <Setter TargetName="textBlock" Property="Foreground" Value="#3afdff" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style.Setters>
- </Style>
- <!--#endregion-->
-
- <!--#region TextBox-->
- <Style
- x:Key="TextBoxStyle人员"
- BasedOn="{x:Null}"
- TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#A4EBF7" />
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/搜索框.png" />
- </Setter.Value>
- </Setter>
- <Setter Property="FontSize" Value="14" />
- <Setter Property="TextWrapping" Value="NoWrap" />
- <Setter Property="BorderBrush" Value="Transparent" />
- <Setter Property="BorderThickness" Value="1" />
- <Setter Property="Padding" Value="1" />
- <Setter Property="AllowDrop" Value="true" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="FocusVisualStyle" Value="{x:Null}" />
- <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" />
- <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
- <Setter Property="Height" Value="35" />
- <Setter Property="Width" Value="auto" />
- <Setter Property="MinWidth" Value="200" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <Themes:ListBoxChrome
- x:Name="Bd"
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="{TemplateBinding BorderThickness}"
- RenderFocused="{TemplateBinding IsKeyboardFocusWithin}"
- RenderMouseOver="{TemplateBinding IsMouseOver}"
- SnapsToDevicePixels="true">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto" />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Image
- Width="20"
- Height="Auto"
- Margin="20,0,0,0"
- HorizontalAlignment="Right"
- Cursor="Hand"
- Source="Image/搜索按钮.png"
- Tag="Search" />
- <ScrollViewer
- x:Name="PART_ContentHost"
- VerticalAlignment="Center"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- <!--<local:ButtonEx Grid.Column="1" ButtonType="Icon" Icon="Images/search.png" Cursor="Hand" Margin="3" Width="{Binding ElementName=PART_ContentHost, Path=Height}" Height="{Binding ElementName=PART_ContentHost, Path=Height}" Click="Button_SearchMBK_Click"/>-->
- </Grid>
- </Themes:ListBoxChrome>
- <ControlTemplate.Triggers>
- <Trigger Property="IsEnabled" Value="false">
- <Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
- <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <MultiTrigger>
- <MultiTrigger.Conditions>
- <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true" />
- <Condition Property="IsSelectionActive" Value="false" />
- </MultiTrigger.Conditions>
- <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
- </MultiTrigger>
- </Style.Triggers>
- </Style>
-
- <Style
- x:Key="TextBoxStyle搜索框"
- BasedOn="{x:Null}"
- TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="#A4EBF7" />
- <Setter Property="FontSize" Value="14" />
- <Setter Property="TextWrapping" Value="NoWrap" />
- <Setter Property="BorderBrush" Value="Transparent" />
- <Setter Property="BorderThickness" Value="1" />
- <Setter Property="Margin" Value="10,0,0,0" />
- <Setter Property="AllowDrop" Value="true" />
- <Setter Property="CaretBrush" Value="Aqua" />
- <Setter Property="Padding" Value="1" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="FocusVisualStyle" Value="{x:Null}" />
- <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" />
- <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
- <Setter Property="Height" Value="40" />
- <Setter Property="Width" Value="135" />
- <Setter Property="FocusVisualStyle" Value="{x:Null}" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <Border x:Name="Bd" VerticalAlignment="Center">
- <Border.Background>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/搜索框.png" />
- </Border.Background>
-
- <Grid>
- <ScrollViewer
- x:Name="PART_ContentHost"
- VerticalAlignment="Center"
- HorizontalScrollBarVisibility="Hidden"
- VerticalScrollBarVisibility="Hidden" />
-
- <Image
- Width="20"
- Margin="10,3,3,3"
- HorizontalAlignment="Left"
- Source="/BPASmartClient.CustomResource;component/Image/搜索按钮.png"
- Stretch="Uniform" />
- </Grid>
-
- </Border>
-
- <ControlTemplate.Triggers>
- <Trigger Property="IsEnabled" Value="false">
- <Setter TargetName="Bd" Property="Opacity" Value="0.56" />
- <!--<Setter TargetName="UserTextBlock" Property="Opacity" Value="0.56" />-->
- </Trigger>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="Bd" Property="BorderBrush" Value="#aa3ba7f2" />
- <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF7EB4EA" />-->
- </Trigger>
- <Trigger Property="IsKeyboardFocused" Value="true">
- <Setter TargetName="Bd" Property="BorderBrush" Value="#FFCA51" />
- <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF569DE5" />-->
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <MultiTrigger>
- <MultiTrigger.Conditions>
- <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true" />
- <Condition Property="IsSelectionActive" Value="false" />
- </MultiTrigger.Conditions>
- <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
- </MultiTrigger>
- </Style.Triggers>
- </Style>
- <!--#endregion-->
-
- <!--#region UserNameTextBoxStyle-->
- <LinearGradientBrush x:Key="TextBoxBorder" MappingMode="Absolute" StartPoint="0,0" EndPoint="0,20">
- <GradientStop Offset="0.05" Color="#ABADB3" />
- <GradientStop Offset="0.07" Color="#E2E3EA" />
- <GradientStop Offset="1" Color="#E3E9EF" />
- </LinearGradientBrush>
-
- <Style
- x:Key="UserNameTextBoxStyle"
- BasedOn="{x:Null}"
- TargetType="{x:Type TextBox}">
- <Setter Property="Foreground" Value="White" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="Padding" Value="1" />
- <Setter Property="CaretBrush" Value="Aqua" />
- <Setter Property="Height" Value="40" />
- <Setter Property="Width" Value="135" />
- <Setter Property="HorizontalContentAlignment" Value="Center" />
- <Setter Property="FontSize" Value="16" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="AllowDrop" Value="true" />
- <Setter Property="FocusVisualStyle" Value="{x:Null}" />
- <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" />
- <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <Border x:Name="Bd" VerticalAlignment="Center">
- <Grid>
- <ScrollViewer
- x:Name="PART_ContentHost"
- VerticalAlignment="Center"
- HorizontalScrollBarVisibility="Hidden"
- VerticalScrollBarVisibility="Hidden" />
-
- <Path
- x:Name="p1"
- Stroke="#7720FDFA"
- StrokeThickness="1">
- <Path.Data>
- <PathGeometry>
- <PathFigure IsClosed="False" StartPoint="1, 1">
- <LineSegment Point="133,1" />
- <LineSegment Point="133,38" />
- <LineSegment Point="1,38" />
- <LineSegment Point="1,1" />
- </PathFigure>
- </PathGeometry>
- </Path.Data>
- </Path>
-
- <Path
- Name="p2"
- Stroke="#aa20FDFA"
- StrokeThickness="3">
- <Path.Data>
- <PathGeometry>
- <PathFigure IsClosed="False" StartPoint="10, 1">
- <LineSegment Point="1,1" />
- <LineSegment Point="1,10" />
- </PathFigure>
- </PathGeometry>
- </Path.Data>
- </Path>
-
- <Path
- Name="p3"
- Stroke="#aa20FDFA"
- StrokeThickness="3">
- <Path.Data>
- <PathGeometry>
- <PathFigure IsClosed="False" StartPoint="125, 1">
- <LineSegment Point="133,1" />
- <LineSegment Point="133,10" />
- </PathFigure>
- </PathGeometry>
- </Path.Data>
- </Path>
-
- <Path
- x:Name="p4"
- Stroke="#aa20FDFA"
- StrokeThickness="3">
- <Path.Data>
- <PathGeometry>
- <PathFigure IsClosed="False" StartPoint="125, 38">
- <LineSegment Point="133,38" />
- <LineSegment Point="133,30" />
- </PathFigure>
- </PathGeometry>
- </Path.Data>
- </Path>
-
- <Path
- x:Name="p5"
- Stroke="#aa20FDFA"
- StrokeThickness="3">
- <Path.Data>
- <PathGeometry>
- <PathFigure IsClosed="False" StartPoint="1, 30">
- <LineSegment Point="1,38" />
- <LineSegment Point="10,38" />
- </PathFigure>
- </PathGeometry>
- </Path.Data>
- </Path>
- </Grid>
-
- </Border>
-
- <ControlTemplate.Triggers>
- <Trigger Property="IsEnabled" Value="false">
- <Setter TargetName="Bd" Property="Opacity" Value="0.56" />
- <!--<Setter TargetName="UserTextBlock" Property="Opacity" Value="0.56" />-->
- </Trigger>
- <Trigger Property="IsMouseOver" Value="true">
- <Setter TargetName="Bd" Property="BorderBrush" Value="#aa3ba7f2" />
- <Setter TargetName="p1" Property="Stroke" Value="#aa20FDFA" />
- <Setter TargetName="p2" Property="Stroke" Value="Aqua" />
- <Setter TargetName="p3" Property="Stroke" Value="Aqua" />
- <Setter TargetName="p4" Property="Stroke" Value="Aqua" />
- <Setter TargetName="p5" Property="Stroke" Value="Aqua" />
- <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF7EB4EA" />-->
- </Trigger>
- <Trigger Property="IsKeyboardFocused" Value="true">
- <Setter TargetName="Bd" Property="BorderBrush" Value="#FFCA51" />
- <Setter TargetName="p1" Property="Stroke" Value="#aaFFCA51" />
- <Setter TargetName="p2" Property="Stroke" Value="#FFCA51" />
- <Setter TargetName="p3" Property="Stroke" Value="#FFCA51" />
- <Setter TargetName="p4" Property="Stroke" Value="#FFCA51" />
- <Setter TargetName="p5" Property="Stroke" Value="#FFCA51" />
- <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF569DE5" />-->
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <MultiTrigger>
- <MultiTrigger.Conditions>
- <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true" />
- <Condition Property="IsSelectionActive" Value="false" />
- </MultiTrigger.Conditions>
- <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
- </MultiTrigger>
- </Style.Triggers>
- </Style>
- <!--#endregion-->
-
- <!--#region TextBlock-->
- <Style x:Key="80号字体样式" TargetType="TextBlock">
- <Setter Property="FontSize" Value="16" />
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="FontFamily" Value="楷体" />
- <Setter Property="Foreground" Value="#FFFCD5B5" />
- </Style>
-
-
-
- <Style TargetType="TextBlock">
- <Style.Setters>
- <Setter Property="Foreground" Value="{DynamicResource foreground}" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="FontSize" Value="20" />
- </Style.Setters>
- </Style>
-
- <Style x:Key="Title" TargetType="TextBlock">
- <Setter Property="FontSize" Value="18" />
- <Setter Property="Foreground" Value="#FF58C7EE" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- </Style>
-
- <Style x:Key="数码管Text" TargetType="TextBlock">
- <Setter Property="FontFamily" Value="../Fonts/#Quartz M" />
- <Setter Property="FontSize" Value="18" />
- <Setter Property="Foreground" Value="{DynamicResource foreground}" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- </Style>
- <!--#endregion-->
-
- <!--#region GroupBox-->
- <BorderGapMaskConverter x:Key="BorderGapMaskConverter" />
- <Style TargetType="{x:Type GroupBox}">
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="Foreground" Value="{DynamicResource Titleforeground}" />
- <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>
- <Rectangle Grid.RowSpan="2" Grid.ColumnSpan="4" />
- <Border
- Grid.Row="2"
- Grid.RowSpan="2"
- Grid.ColumnSpan="4"
- Margin="0,0,0,0"
- BorderThickness="0"
- CornerRadius="0" />
- <Image
- Grid.Row="0"
- Grid.RowSpan="2"
- Grid.Column="1"
- Height="4"
- Margin="0,5,0,0"
- HorizontalAlignment="Left"
- Source="/BPASmartClient.CustomResource;component/Image/表格/矩形2609.png" />
- <Border
- x:Name="Header"
- Grid.Row="0"
- Grid.RowSpan="2"
- Grid.Column="1"
- Height="30"
- Margin="30,0,0,0"
- Padding="3,1,3,0">
- <ContentPresenter
- VerticalAlignment="Center"
- ContentSource="Header"
- RecognizesAccessKey="True"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- </Border>
- <ContentPresenter
- Grid.Row="2"
- Grid.Column="1"
- Grid.ColumnSpan="2"
- Margin="{TemplateBinding Padding}"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region 空MenuHeader-->
- <Style x:Key="MenuItem_NonStyle" TargetType="{x:Type MenuItem}">
- <Setter Property="Height" Value="Auto" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type MenuItem}">
- <Grid Margin="1">
- <ContentPresenter
- x:Name="Presenter"
- Margin="{TemplateBinding Padding}"
- ContentSource="Header" />
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region dataGrid-->
- <Style x:Key="dataGrid_Style" TargetType="DataGrid">
- <!-- 网格线颜色 -->
- <Setter Property="CanUserResizeColumns" Value="false" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="BorderBrush" Value="#a2c2e8" />
- <Setter Property="HorizontalGridLinesBrush">
- <Setter.Value>
- <SolidColorBrush Color="#a2c2e8" />
- </Setter.Value>
- </Setter>
- <Setter Property="VerticalGridLinesBrush">
- <Setter.Value>
- <SolidColorBrush Color="#a2c2e8" />
- </Setter.Value>
- </Setter>
- </Style>
-
- <!--#region dataGridRow-->
- <Style x:Key="DatagridRow_Style" TargetType="DataGridRow">
- <Setter Property="Background" Value="#3afdff" />
- <Setter Property="Foreground" Value="White" />
- <Setter Property="Height" Value="20" />
- <Style.Triggers>
- <!-- 隔行换色 -->
- <Trigger Property="AlternationIndex" Value="0">
- <Setter Property="Background" Value="#FFFAFAFA" />
- </Trigger>
- <Trigger Property="AlternationIndex" Value="1">
- <Setter Property="Background" Value="#FFF5F5F7" />
- </Trigger>
-
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Background" Value="#4fade8" />
- </Trigger>
-
- <Trigger Property="IsSelected" Value="True">
- <Setter Property="Background" Value="#4fade8" />
- <Setter Property="Foreground" Value="#FF111111" />
- </Trigger>
- </Style.Triggers>
- </Style>
- <!--#endregion-->
-
- <!--#region dataGridHeader-->
- <Style x:Key="dataGridHeader_Style" TargetType="DataGridColumnHeader">
- <Setter Property="SnapsToDevicePixels" Value="True" />
- <Setter Property="MinWidth" Value="0" />
- <Setter Property="MinHeight" Value="30" />
- <Setter Property="Foreground" Value="White" />
- <Setter Property="FontSize" Value="18" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="DataGridColumnHeader">
- <Border
- x:Name="BackgroundBorder"
- Width="Auto"
- BorderBrush="#e6dbba"
- BorderThickness="0,1,0,1">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <ContentPresenter
- Margin="0,0,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center" />
- <Path
- x:Name="SortArrow"
- Grid.Column="0"
- Width="8"
- Height="6"
- Margin="0,0,50,0"
- VerticalAlignment="Center"
- Data="M0,0 L1,0 0.5,1 z"
- Fill="White"
- RenderTransformOrigin="1,1"
- Stretch="Fill"
- Visibility="Collapsed" />
- <Rectangle
- Grid.ColumnSpan="1"
- Width="1"
- HorizontalAlignment="Right"
- Fill="#d6c79b" />
- </Grid>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Setter Property="Height" Value="25" />
- </Style>
- <!--#endregion-->
- <!--#region dataGridCell-->
- <Style x:Key="dataGridCell_Style" TargetType="DataGridCell">
- <Setter Property="Height" Value="20" />
- <Setter Property="FontSize" Value="14" />
-
- <Style.Triggers>
- <Trigger Property="IsSelected" Value="True">
- <Setter Property="Background" Value="White" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Foreground" Value="Black" />
- </Trigger>
- </Style.Triggers>
- </Style>
- <!--#endregion-->
- <!--#endregion-->
-
- </ResourceDictionary>
|