alielie
2025-04-10 6bcafc823e836ecd5790f87178a906333699f868
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using GongSolutions.Wpf.DragDrop;
using Plugin.TestBuilder.Model;
 
namespace Plugin.TestBuilder.UI
{
    public class DdDragHandler : DefaultDragHandler
    {
        public override bool CanStartDrag(IDragInfo dragInfo)
        {
            FuncModel model = dragInfo.SourceItem as FuncModel;
            return model.Children ==null || model.Children.Count == 0;
        }
    }
}