using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace BPASmartClient.CustomResource.UserControls.DeCanvas { // Common interface for items that can be selected // on the DesignerCanvas; used by DesignerItem and Connection public interface ISelectable { bool IsSelected { get; set; } } // Wraps info of the dragged object into a class public class DragObject { // Xaml string that represents the serialized content public String Xaml { get; set; } // Defines width and height of the DesignerItem // when this DragObject is dropped on the DesignerCanvas public Size? DesiredSize { get; set; } public string text { get; set; } public string tag { get; set; } } }