コード例 #1
0
        public static IScriptCommand UpdateAdorner(string adornerVariable      = "{DragDrop.Adorner}",
                                                   string iSupportDropVariable = "{ISupportDrop}",
                                                   string dragMethodVariable   = "{DragDrop.DragMethod}",
                                                   string draggablesVariable   = "{DragDrop.Draggables}",
                                                   IScriptCommand nextCommand  = null)
        {
            string queryDropResultVariable = "{DragDrop.QueryDropResult}";

            return(DragDropScriptCommands.UpdateAdornerPointerPosition(adornerVariable,
                                                                       DragDropScriptCommands.UpdateAdornerDraggables(adornerVariable, draggablesVariable,
                                                                                                                      HubScriptCommands.QueryDropEffects(iSupportDropVariable, draggablesVariable, null, null, queryDropResultVariable, false,
                                                                                                                                                         DragDropScriptCommands.UpdateAdornerText(adornerVariable, dragMethodVariable, draggablesVariable,
                                                                                                                                                                                                  queryDropResultVariable, iSupportDropVariable, nextCommand)))));
        }