| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">    <!--登录界面密码框样式-->    <Style TargetType="PasswordBox">        <Setter Property="Margin" Value="0,10" />        <Setter Property="Height" Value="35" />        <Setter Property="Width" Value="120" />        <Setter Property="FontSize" Value="18" />        <Style.Triggers>            <Trigger Property="IsMouseOver" Value="True">                <Setter Property="Foreground" Value="Green" />                <Setter Property="BorderBrush" Value="Green" />                <Setter Property="BorderThickness" Value="2" />            </Trigger>        </Style.Triggers>    </Style>    <Style x:Key="LoginPasswordBox" TargetType="{x:Type PasswordBox}">        <Setter Property="SnapsToDevicePixels" Value="True"/>        <Setter Property="FontSize" Value="16" />        <Setter Property="BorderThickness" Value="2,2,0,0"/>        <Setter Property="MinHeight" Value="20" />        <Setter Property="Background" Value="{DynamicResource LoginTextBox_BG}" />        <Setter Property="Foreground" Value="Black" />        <Setter Property="BorderBrush" Value="{DynamicResource LoginTextBox_ShadowBD}"/>        <Setter Property="HorizontalContentAlignment" Value="Left"/>        <Setter Property="VerticalContentAlignment" Value="Center"/>        <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 PasswordBox}">                    <Grid>                        <Border x:Name="Focus_Border" BorderBrush="#FFFFEA00" BorderThickness="2" Opacity="0"/>                        <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Margin="2">                            <Border x:Name="Inner_BG" BorderBrush="{DynamicResource LoginTextBox_HighlightBD}" BorderThickness="0,0,2,2">                                <ScrollViewer x:Name="PART_ContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}"/>                            </Border>                        </Border>                    </Grid>                    <ControlTemplate.Triggers>                        <Trigger Property="IsFocused" Value="True">                            <Setter Property="Opacity" TargetName="Focus_Border" Value="1"/>                        </Trigger>                    </ControlTemplate.Triggers>                </ControlTemplate>            </Setter.Value>        </Setter>    </Style>    </ResourceDictionary>
 |