终端一体化运控平台
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.

преди 2 години
1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. namespace BPASmartClient.CustomResource.UserControls.DeCanvas
  8. {
  9. // Common interface for items that can be selected
  10. // on the DesignerCanvas; used by DesignerItem and Connection
  11. public interface ISelectable
  12. {
  13. bool IsSelected { get; set; }
  14. }
  15. // Wraps info of the dragged object into a class
  16. public class DragObject
  17. {
  18. // Xaml string that represents the serialized content
  19. public String Xaml { get; set; }
  20. // Defines width and height of the DesignerItem
  21. // when this DragObject is dropped on the DesignerCanvas
  22. public Size? DesiredSize { get; set; }
  23. public string text { get; set; }
  24. public string tag { get; set; }
  25. }
  26. }