您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
484 B

  1. using System.Windows;
  2. namespace BPA.UIControl.Converters
  3. {
  4. /// <summary>
  5. /// bool - 显示状态转换器
  6. /// </summary>
  7. public class BooleanToVisibilityConverter : BooleanConverter<Visibility>
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="BooleanToVisibilityConverter"/> class.
  11. /// </summary>
  12. public BooleanToVisibilityConverter() : base(Visibility.Visible, Visibility.Collapsed)
  13. {
  14. }
  15. }
  16. }