Exemplo n.º 1
0
 public void StartDragging() {
    var adorner = new DragAdorner(Shell.Content as UIElement, this);
    State = ScriptBlockState.Moving;
    DragDrop.DoDragDrop(this, this, DragDropEffects.All);
    State = ScriptBlockState.Selected;
    adorner.Close();
 }