PasswordBox.xaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:hc="clr-namespace:HandyControl.Controls">
  4. <Style BasedOn="{StaticResource PasswordBoxBaseStyle}" TargetType="PasswordBox"/>
  5. <Style x:Key="PasswordBox.Small" BasedOn="{StaticResource PasswordBoxBaseStyle}" TargetType="PasswordBox">
  6. <Setter Property="MinHeight" Value="20"/>
  7. <Setter Property="Padding" Value="6,0"/>
  8. </Style>
  9. <Style x:Key="PasswordBoxExtend" BasedOn="{StaticResource PasswordBoxExtendBaseStyle}" TargetType="PasswordBox"/>
  10. <Style x:Key="PasswordBoxExtend.Small" BasedOn="{StaticResource PasswordBoxExtend}" TargetType="PasswordBox">
  11. <Setter Property="hc:InfoElement.MinContentHeight" Value="20"/>
  12. <Setter Property="hc:InfoElement.ContentHeight" Value="20"/>
  13. <Setter Property="hc:TitleElement.MarginOnTheLeft" Value="0,3,6,0"/>
  14. <Setter Property="hc:TitleElement.MarginOnTheTop" Value="6,0,0,1" />
  15. <Setter Property="Padding" Value="6,0"/>
  16. <Setter Property="MinHeight" Value="20" />
  17. </Style>
  18. <Style BasedOn="{StaticResource PasswordBoxPlusBaseStyle}" TargetType="hc:PasswordBox"/>
  19. <Style x:Key="PasswordBoxPlus.Small" BasedOn="{StaticResource PasswordBoxPlusBaseStyle}" TargetType="hc:PasswordBox">
  20. <Setter Property="hc:InfoElement.MinContentHeight" Value="20"/>
  21. <Setter Property="hc:InfoElement.ContentHeight" Value="20"/>
  22. <Setter Property="hc:TitleElement.MarginOnTheLeft" Value="0,3,6,0"/>
  23. <Setter Property="hc:TitleElement.MarginOnTheTop" Value="6,0,0,1" />
  24. <Setter Property="Padding" Value="6,0"/>
  25. <Setter Property="MinHeight" Value="20" />
  26. </Style>
  27. </ResourceDictionary>