Exemplo n.º 1
0
 public DragHelper(UIElement dragSource, IDataDropObjectProvider callback, UIElement dragScope)
 {
     this.allowedEffects = DragDropEffects.Copy | DragDropEffects.Move;
     this.opacity        = 0.7;
     this.DragSource     = dragSource;
     this.Callback       = callback;
     this.DragScope      = dragScope;
 }
Exemplo n.º 2
0
 public DragHelper(UIElement dragSource, IDataDropObjectProvider callback, UIElement dragScope)
 {
     this.allowedEffects = DragDropEffects.Copy | DragDropEffects.Move;
     this.opacity        = 0.7;
     this.DragSource     = dragSource;
     this.Callback       = callback;
     this.DragScope      = dragScope;
 }
Exemplo n.º 3
0
        public DragHelper(UIElement source, IDataDropObjectProvider callback, UIElement dragScope)
        {
            this._dragScope  = dragScope;
            this._callback   = callback;
            this._dragSource = source;

            WireEvents(source, dragScope);
        }
Exemplo n.º 4
0
        public DragHelper(UIElement source, IDataDropObjectProvider callback, UIElement dragScope)
        {
            this._dragScope = dragScope;
            this._callback = callback;
            this._dragSource = source;

            WireEvents(source, dragScope);
        }
Exemplo n.º 5
0
        public DragHelper(UIElement source, IDataDropObjectProvider callback, UIElement dragScope)
        {
            this._dragScope  = dragScope;
            this._callback   = callback;
            this._dragSource = source;
            System.Diagnostics.Debug.WriteLine(source != null); // DragSource can't be null


            WireEvents(source, dragScope);
        }
Exemplo n.º 6
0
        public DragHelper(UIElement source, IDataDropObjectProvider callback, UIElement dragScope)
        {
            this._dragScope = dragScope;
            this._callback = callback;
            this._dragSource = source;
            System.Diagnostics.Debug.WriteLine(source != null); // DragSource can't be null

            WireEvents(source, dragScope);
        }