27 references to CutCopyPasteHelper
System.Activities.Presentation (27)
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (14)
35DependencyProperty.RegisterAttached("ChildContainers", typeof(HashSet<ICompositeView>), typeof(CutCopyPasteHelper), new UIPropertyMetadata(null)); 85HashSet<ICompositeView> containers = (HashSet<ICompositeView>)viewElement.GetValue(CutCopyPasteHelper.ChildContainersProperty); 89viewElement.SetValue(CutCopyPasteHelper.ChildContainersProperty, containers); 100childContainers = (HashSet<ICompositeView>)workflowViewElement.GetValue(CutCopyPasteHelper.ChildContainersProperty); 113CutCopyPasteHelper.AddChildContainer(parent, container); 187CutCopyPasteHelper.DoCut(modelItemsToCut, context); 237CutCopyPasteHelper.DoCopy(modelItemsToCopy, context); 309HashSet<ModelItem> parentModelItems = CutCopyPasteHelper.GetSelectableParentModelItems(modelItem); 398childElement = CutCopyPasteHelper.GetParentViewElement(container); 515HashSet<ICompositeView> childrenContainers = CutCopyPasteHelper.GetChildContainers(pasteModelItem.View as WorkflowViewElement); 536CutCopyPasteHelper.workflowCallbackContext = null; 578CutCopyPasteHelper.workflowCallbackContext = context; 667workflowData.Add(CutCopyPasteHelper.workflowCallbackContext); 688foreach (Type disallowedType in CutCopyPasteHelper.DisallowedTypesForCopy)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
802HashSet<ModelItem> parentModelItems = CutCopyPasteHelper.GetSelectableParentModelItems(modelItem);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (7)
752e.CanExecute = !this.IsReadOnly && CutCopyPasteHelper.CanCopy(this.Context); 760CutCopyPasteHelper.DoCopy(this.Context); 767e.CanExecute = !this.IsReadOnly && CutCopyPasteHelper.CanPaste(this.Context); 779CutCopyPasteHelper.DoPaste(this.Context, contextMenuTopLeft, sourceElement); 783CutCopyPasteHelper.DoPaste(this.Context); 792e.CanExecute = !this.IsReadOnly && CutCopyPasteHelper.CanCut(this.Context); 799CutCopyPasteHelper.DoCut(this.Context);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
394CutCopyPasteHelper.RegisterWithParentViewElement(this); 716IList<object> sortedList = CutCopyPasteHelper.SortFromMetaData(itemsToPaste, metaData);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
222CutCopyPasteHelper.RegisterWithParentViewElement(this); 853IList<object> mergedItemsToPaste = CutCopyPasteHelper.SortFromMetaData(itemsToPaste, metaData);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
155this.SetValue(CutCopyPasteHelper.ChildContainersProperty, null);