GrowlInfo.cs 992 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Windows;
  3. using System.Windows.Media;
  4. using System.Windows.Threading;
  5. namespace HandyControl.Data;
  6. public class GrowlInfo
  7. {
  8. public string Message { get; set; }
  9. public bool ShowDateTime { get; set; } = true;
  10. public int WaitTime { get; set; } = 6;
  11. public string CancelStr { get; set; } = Properties.Langs.Lang.Cancel;
  12. public string ConfirmStr { get; set; } = Properties.Langs.Lang.Confirm;
  13. public Func<bool, bool> ActionBeforeClose { get; set; }
  14. public bool StaysOpen { get; set; }
  15. public bool IsCustom { get; set; }
  16. public InfoType Type { get; set; }
  17. public Geometry Icon { get; set; }
  18. public string IconKey { get; set; }
  19. public Brush IconBrush { get; set; }
  20. public string IconBrushKey { get; set; }
  21. public bool ShowCloseButton { get; set; } = true;
  22. public string Token { get; set; }
  23. public FlowDirection FlowDirection { get; set; }
  24. public Dispatcher Dispatcher { get; set; }
  25. }