public static IScriptCommand AttachAdorner(string adornerLayerVariable = "{DragDrop.AdornerLayer}", string adornerVariable = "{DragDrop.Adorner}", string iSupportDropVariable = "{ISupportDrop}", string dragMethodVariable = "{DragDrop.DragMethod}", string draggablesVariable = "{DragDrop.Draggables}", IScriptCommand nextCommand = null) { return(DragDropScriptCommands.DetachAdorner(adornerLayerVariable, adornerVariable, HubScriptCommands.AttachDragDropAdorner(adornerLayerVariable, adornerVariable, HubScriptCommands.SetDependencyPropertyValue(adornerVariable, DragAdorner.IsDraggingProperty, true, DragDropScriptCommands.UpdateAdorner(adornerVariable, iSupportDropVariable, dragMethodVariable, draggablesVariable, nextCommand))))); }