You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 rivejä
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. }