ToolbarLocationModel.cs 612 B

123456789101112131415161718192021222324252627
  1. using System.Xml.Serialization;
  2. using System.Collections.Generic;
  3. namespace PaintDotNet.Base.SettingModel
  4. {
  5. /// <summary>
  6. /// 自定义界面 - 工具栏坐标
  7. /// </summary>
  8. [XmlRoot("ROOT")]
  9. public class ToolbarLocationModel
  10. {
  11. [XmlArrayAttribute("Flows")]
  12. public List<Flow> Flows { get; set; }
  13. public class Flow
  14. {
  15. [XmlElement("Key")]
  16. public string Key { get; set; }
  17. [XmlElement("X")]
  18. public int X { get; set; }
  19. [XmlElement("Y")]
  20. public int Y { get; set; }
  21. }
  22. }
  23. }