CheckComboBox.xaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 CheckComboBoxBaseStyle}" TargetType="hc:CheckComboBox"/>
  5. <Style x:Key="CheckComboBoxItem.Small" BasedOn="{StaticResource CheckComboBoxItemBaseStyle}" TargetType="hc:CheckComboBoxItem">
  6. <Setter Property="Padding" Value="6,0" />
  7. <Setter Property="MinHeight" Value="20" />
  8. </Style>
  9. <Style x:Key="Tag4CheckComboBoxStyle.Small" BasedOn="{StaticResource Tag4CheckComboBoxStyle}" TargetType="hc:Tag">
  10. <Setter Property="Padding" Value="6,0,4,0"/>
  11. </Style>
  12. <Style x:Key="CheckComboBox.Small" BasedOn="{StaticResource CheckComboBoxBaseStyle}" TargetType="hc:CheckComboBox">
  13. <Setter Property="TagStyle" Value="{StaticResource Tag4CheckComboBoxStyle.Small}"/>
  14. <Setter Property="TagSpacing" Value="2" />
  15. <Setter Property="ItemContainerStyle" Value="{StaticResource CheckComboBoxItem.Small}" />
  16. <Setter Property="MinHeight" Value="20"/>
  17. <Setter Property="Padding" Value="6,2"/>
  18. </Style>
  19. <Style x:Key="CheckComboBoxExtend" BasedOn="{StaticResource CheckComboBoxExtendBaseStyle}" TargetType="hc:CheckComboBox"/>
  20. <Style x:Key="CheckComboBoxExtend.Small" BasedOn="{StaticResource CheckComboBoxExtend}" TargetType="hc:CheckComboBox">
  21. <Setter Property="TagStyle" Value="{StaticResource Tag4CheckComboBoxStyle.Small}"/>
  22. <Setter Property="TagSpacing" Value="2" />
  23. <Setter Property="ItemContainerStyle" Value="{StaticResource CheckComboBoxItem.Small}" />
  24. <Setter Property="hc:InfoElement.MinContentHeight" Value="20"/>
  25. <Setter Property="hc:TitleElement.MarginOnTheLeft" Value="0,3,6,0"/>
  26. <Setter Property="hc:TitleElement.MarginOnTheTop" Value="6,0,0,1" />
  27. <Setter Property="MinHeight" Value="20"/>
  28. <Setter Property="Padding" Value="6,2"/>
  29. </Style>
  30. <Style x:Key="CheckComboBoxPlus" BasedOn="{StaticResource CheckComboBoxPlusBaseStyle}" TargetType="hc:CheckComboBox"/>
  31. <Style x:Key="CheckComboBoxPlus.Small" BasedOn="{StaticResource CheckComboBoxPlus}" TargetType="hc:CheckComboBox">
  32. <Setter Property="TagStyle" Value="{StaticResource Tag4CheckComboBoxStyle.Small}"/>
  33. <Setter Property="TagSpacing" Value="2" />
  34. <Setter Property="ItemContainerStyle" Value="{StaticResource CheckComboBoxItem.Small}" />
  35. <Setter Property="hc:InfoElement.MinContentHeight" Value="20"/>
  36. <Setter Property="hc:TitleElement.MarginOnTheLeft" Value="0,3,6,0"/>
  37. <Setter Property="hc:TitleElement.MarginOnTheTop" Value="6,0,0,1" />
  38. <Setter Property="MinHeight" Value="20"/>
  39. <Setter Property="Padding" Value="6,2"/>
  40. </Style>
  41. </ResourceDictionary>