- The shortcut menu is now available when multiple activities are selected.
- In an activity designer, the area that can be dragged is now only the header of the designer instead of the whole designer. However, in the FlowDecision and FlowSwitch designers the area that can be dragged is still the whole designer.
- The behavior of multi-selection by pressing the Ctrl key is changed.
- In the .NET Framework 4, the selection is canceled when the mouse moves down.
- In the .NET Framework 4.5, the selection is canceled when the mouse moves up. The selection is selected when the mouse moves down.
- The activity designer now supports activity delegates. For more information, go to the following MSDN website:
- The variable and argument designers now support the shortcut menu. The shortcut menu contains items for deleting variables and arguments and also for working with annotations. For more information, go to the following MSDN website:
- The MetadataStore class now supports adding an attribute to a generic property of a generic type definition.
- The ModelItemDictionary class now supports a null key.
- Previously, the ModelItem.Parents property contained items that were not in the model tree. Now, all objects in the ModelItem.Parents property are valid and are in the model tree.
- Previously when a case was selected in the designer for the Switch activity, the keyboard focus went to the activity in the selected case and the activity was highlighted. Now, the keyboard focus does not change when the activity is highlighted.
- Previously when only one character was entered in an expression text box, the designer treated that character as a char type constant. Now, the designer treats the character as a variable or as an argument name.
- Previously, the type browser showed types in the referenced assemblies that had dependencies on unreferenced assemblies. Now, types that have dependencies on unreferenced assembles are not shown in the type browser until the dependent assemblies are referenced.
- Some properties and methods are now obsolete. For specific information, see the "More Information" section.
- Most of the properties in the System.Activities.Presentation.Services.ModelChangedEventArgs class are obsolete.
Note Use the ModelChangeInfo property instead.
- The new multi-selection features make the methods in the System.Activities.Presentation.DragDropHelper class in the following table obsolete:
|Method that is obsolete||Method to use instead|
|DragDropEffects DoDragMove(WorkflowViewElement draggedViewElement, Point referencePoint)||IEnumerable<WorkflowViewElement> DoDragMove(IEnumerable<WorkflowViewElement> draggedViewElements, Point referencePoint)|
|Object GetDroppedObject(DependencyObject dropTarget, DragEventArgs e, EditingContextcontext)||IEnumerable<object> GetDroppedObjects(DependencyObject dropTarget, DragEventArgs e, EditingContext context)|
|ModelItem GetDraggedModelItem(DragEventArgs e)||IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)|
|ICompositeView GetCompositeView(DragEventArgs e)||UIElement GetCompositeView(WorkflowViewElement workflowViewElement)|
|void SetDragDropCompletedEffects(DragEventArgs e, DragDropEffects completedEffects)||void SetDragDropMovedViewElements(DragEventArgs e, IEnumerable<WorkflowViewElement> movedViewElements)|
|static DragDropEffects GetDragDropCompletedEffects(DataObject data)||IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)|
Article ID: 2738083 - Last Review: 24 Aug 2012 - Revision: 1