星火微课系统客户端
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.

ModelCanvas.cs 706B

12345678910111213141516171819202122232425262728293031323334353637
  1. namespace XHWK.Model
  2. {
  3. public class ModelCanvas : NotifyModel
  4. {
  5. private string _name;
  6. public string Name
  7. {
  8. get => _name;
  9. set { _name = value; OnPropertyChanged("Name"); }
  10. }
  11. private string _pic;
  12. public string Pic
  13. {
  14. get => _pic;
  15. set
  16. {
  17. _pic = value;
  18. OnPropertyChanged("Pic");
  19. }
  20. }
  21. private bool _selected;
  22. public bool Selected
  23. {
  24. get => _selected;
  25. set
  26. {
  27. _selected = value;
  28. OnPropertyChanged("Selected");
  29. }
  30. }
  31. }
  32. }