コード例 #1
0
 public static IScriptCommand AttachDragDropAdorner(string adornerLayerVariable = "{AdornerLayer}", string adornerVariable = "{DragDropAdorner}",
                                                    IScriptCommand nextCommand  = null)
 {
     return(AssignAdornerLayer("PART_DragDropAdorner", adornerLayerVariable, false,
                               new AssignDragDropAdorner()
     {
         AdornerKey = adornerVariable,
         AdornerLayerKey = adornerLayerVariable,
         NextCommand = (ScriptCommandBase)HubScriptCommands.AttachAdorner(adornerLayerVariable, adornerVariable, nextCommand),
     }));
 }