示例#1
0
        private void __dragStart(object obj)
        {
            DragEvent evt = (DragEvent)obj;

            evt.PreventDefault();

            this.StartDrag();
        }
示例#2
0
        private void __startDrag(object param)
        {
            reset();

            DragEvent evt = new DragEvent(DragEvent.DRAG_START);

            _owner.DispatchEventObsolete(evt);
            if (!evt.isDefaultPrevented)
            {
                _owner.StartDrag(_owner.dragBounds);
            }
        }