Export (0) Print
Expand All

CompositeActivityDesigner Class

Note: This API is now obsolete.

Provides a designer that enables you to visually design composite activities.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
[ActivityDesignerThemeAttribute(typeof(CompositeDesignerTheme))]
public abstract class CompositeActivityDesigner : ActivityDesigner

The CompositeActivityDesigner type exposes the following members.

  NameDescription
Protected methodCompositeActivityDesignerWhen implemented in a derived class, initializes an instance of the CompositeActivityDesigner.
Top

  NameDescription
Public propertyAccessibilityObjectGets a AccessibleObject that accessibility applications use to adjust the application look and feel for people with disabilities. (Overrides ActivityDesigner.AccessibilityObject.)
Public propertyActivityGets the Activity associated with the designer. (Inherited from ActivityDesigner.)
Public propertyBoundsGets a Rectangle which contains the value for the enclosing rectangle of the designer in logical coordinates. (Inherited from ActivityDesigner.)
Public propertyCanExpandCollapseGets a value that indicates whether the CompositeActivityDesigner can be collapsed.
Public propertyContainedDesignersGets the array of ActivityDesigner contained within the CompositeActivityDesigner.
Protected propertyDesignerActionsGets the array of actions associated with configuration errors. (Inherited from ActivityDesigner.)
Public propertyDesignerThemeGets the current designer theme for the activity designer. (Inherited from ActivityDesigner.)
Protected propertyEnableVisualResizingGets a value that indicates whether the activity designer can be resized in a free form designer. (Inherited from ActivityDesigner.)
Protected propertyExpandButtonRectangleGets the Rectangle that contains the expand or collapse button.
Public propertyExpandedGets or sets a value that indicates whether the CompositeActivityDesigner is expanded.
Public propertyFirstSelectableObjectGets the first selectable object in the navigation order of the CompositeActivityDesigner.
Protected propertyGlyphsGets a collection of glyphs with which to adorn the composite activity designer. (Overrides ActivityDesigner.Glyphs.)
Public propertyImageGets or sets the Image associated with the designer. (Inherited from ActivityDesigner.)
Protected propertyImageRectangleGets the value for the enclosing bounds of the image associated with the designer in logical coordinates. (Overrides ActivityDesigner.ImageRectangle.)
Protected propertyInvokingDesignerGets or sets the designer of the activity that invokes the activity associated with the current activity designer. (Inherited from ActivityDesigner.)
Public propertyIsEditableGets a value that indicates whether the designer can be edited.
Public propertyIsLockedGets a value that indicates whether the activity associated with the designer can be modified. (Inherited from ActivityDesigner.)
Public propertyIsPrimarySelectionGets a value that indicates whether the activity associated with the designer is the primary selection. (Inherited from ActivityDesigner.)
Public propertyIsRootDesignerGets a value that indicates whether the designer is a root designer. (Inherited from ActivityDesigner.)
Public propertyIsSelectedGets a value that indicates whether the activity associated with the designer is selected. (Inherited from ActivityDesigner.)
Public propertyIsVisibleGets a value that indicates whether the activity associated with the designer is visible on the workflow. (Inherited from ActivityDesigner.)
Public propertyLastSelectableObjectGets the last selectable object contained within the CompositeActivityDesigner.
Public propertyLocationGets or sets the location of the designer in logical coordinates. (Overrides ActivityDesigner.Location.)
Protected propertyMessageFiltersGets a read-only collection of message filters that are associated with the activity designer. (Inherited from ActivityDesigner.)
Public propertyMinimumSizeGets the minimum size for the activity designer. (Inherited from ActivityDesigner.)
Public propertyParentDesignerGets the parent designer of the existing designer. (Inherited from ActivityDesigner.)
Protected propertyParentViewGets the workflow view that contains the current activity designer. (Inherited from ActivityDesigner.)
Protected propertyShowSmartTagGets a value that indicates whether the activity should show a smart tag. (Inherited from ActivityDesigner.)
Public propertySizeGets or sets the size of the ActivityDesigner. (Inherited from ActivityDesigner.)
Protected propertySmartTagRectangleGets the rectangle where the smart tag should be displayed. (Inherited from ActivityDesigner.)
Protected propertySmartTagVerbsGets a read-only collection of designer actions to associate with a smart tag on the activity designer. (Inherited from ActivityDesigner.)
Public propertyTextGets or sets the text to associate with the designer. (Inherited from ActivityDesigner.)
Protected propertyTextRectangleGets the value of the description rectangle in logical coordinates. (Overrides ActivityDesigner.TextRectangle.)
Protected propertyTitleHeightGets the height of the title area of the designer.
Protected propertyVerbsGets the collection of verbs to be associated with the designer. (Inherited from ActivityDesigner.)
Top

  NameDescription
Public methodCanBeParentedToReturns a value that indicates if a CompositeActivity can be set as the parent of the activity associated with the designer. (Inherited from ActivityDesigner.)
Protected methodCanConnectReturns a value that indicates whether a connection can be created between the specified connection point on the current activity designer and the specified connection point on a target activity designer. (Inherited from ActivityDesigner.)
Public methodCanInsertActivitiesReturns a value that indicates whether activities can be inserted into the composite activity associated with the designer.
Public methodCanMoveActivitiesReturns a value that indicates whether activities contained within the composite activity can be moved out of the composite activity associated with the designer.
Public methodCanRemoveActivitiesReturns a value that indicates if activities can be removed from the composite activity associated with the designer.
Protected methodCreateViewCreates a workflow view for the current activity designer using the specified ViewTechnology. (Inherited from ActivityDesigner.)
Public methodStatic memberDeserializeActivitiesFromDataObjectDeserializes items from an IDataObject received during a drag-and-drop operation or from the clipboard.
Public methodDispose()Releases the unmanaged resources used by the ActivityDesigner and optionally releases the managed resources. (Inherited from ActivityDesigner.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the CompositeActivityDesigner and optionally releases the managed resources. (Overrides ActivityDesigner.Dispose(Boolean).)
Protected methodDoDefaultActionPerforms the default UI action associated with the designer. (Inherited from ActivityDesigner.)
Public methodEnsureVisibleShifts the visible area of the screen to guarantee that the specified designer is visible. (Inherited from ActivityDesigner.)
Public methodEnsureVisibleContainedDesignerVerifies that the contained designer is visible.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeWhen overridden in a derived class, allows an object to clean up any resources deterministically. (Inherited from ActivityDesigner.)
Public methodGetConnectionPointsReturns a read-only collection of connection points for the activity designer along the specified DesignerEdges. (Inherited from ActivityDesigner.)
Protected methodGetConnectionsReturns a read-only collection of points that the designer uses for connections. (Inherited from ActivityDesigner.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetIntersectingDesignersRetrieves designers belonging to the specified root activity that intersect a specified area.
Public methodGetNextSelectableObjectGets the object which is next in the order of navigation.
Public methodGetPreviewImageGets the image of the activity designer on the specified Graphics. (Inherited from ActivityDesigner.)
Protected methodGetServiceTries to retrieve the specified type of service from the design mode site for the activity associated with the designer. (Inherited from ActivityDesigner.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHitTestGets information about the CompositeActivityDesigner at a specified point on the screen. (Overrides ActivityDesigner.HitTest(Point).)
Protected methodInitializeInitializes the designer with the associated Activity. (Overrides ActivityDesigner.Initialize(Activity).)
Public methodInsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)Inserts the specified activities in the designer at the specified location.
Public methodStatic memberInsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String)Inserts activities into the designer at the specified location using a transaction.
Public methodInvalidate()Invalidates the designer. (Inherited from ActivityDesigner.)
Public methodInvalidate(Rectangle)Invalidates the specified rectangle on the designer. (Inherited from ActivityDesigner.)
Public methodIsContainedDesignerVisibleGets a value that indicates if the contained designer is visible.
Protected methodIsSupportedActivityTypeReturns a value that indicates whether the specified activity type is supported if the activity designer is a root designer. (Inherited from ActivityDesigner.)
Protected methodLoadViewStateRestores the view state from a binary stream. (Overrides ActivityDesigner.LoadViewState(BinaryReader).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMoveActivitiesMoves activities from one designer to another.
Public methodStatic memberMoveDesignersMoves a designer forward or backwards in index within the composite activity.
Protected methodOnActivityChangedNotifies the ActivityDesigner when the activity it is associated with changes. (Inherited from ActivityDesigner.)
Protected methodOnBeginResizingNotifies the ActivityDesigner when a user starts to visually resize the activity designer when the designer is in a FreeFormActivityDesigner. (Inherited from ActivityDesigner.)
Protected methodOnConnectedNotifies the ActivityDesigner when a connection is established between two connection points. (Inherited from ActivityDesigner.)
Protected methodOnContainedActivitiesChangedOccurs when more than one activities contained within the designers have changed. This occurs, for example, when a new child activity is added or an existing child activity is removed.
Protected methodOnContainedActivitiesChangingOccurs when an activity or a group of activities contained within the designer are changing. This occurs, for example, when a new child activity is added or an existing child activity is removed.
Protected methodOnContainedActivityChangedOccurs when an activity contained within the designer has changed.
Protected methodOnDragDropOccurs when the drag-drop operation is completed inside designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnDragEnterOccurs when the drag-drop operation is in progress and the pointer enters the designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnDragLeaveOccurs when the drag-drop operation is in progress and the pointer leaves the designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnDragOverOccurs when the drag-drop operation is in progress and the pointer is within the designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnEndResizingNotifies the ActivityDesigner when a user is finished visually resizing the activity designer when the designer is in a FreeFormActivityDesigner. (Inherited from ActivityDesigner.)
Protected methodOnExecuteDesignerActionNotifies the ActivityDesigner when the user clicks on the configuration errors associated with the designer. (Inherited from ActivityDesigner.)
Protected methodOnGiveFeedbackUpdates the visual cues for feedback supplied to the user when performing a drag operation. (Inherited from ActivityDesigner.)
Protected methodOnKeyDownCalled when a key is pressed with the designer in focus. (Overrides ActivityDesigner.OnKeyDown(KeyEventArgs).)
Protected methodOnKeyUpOccurs when a key is released when the designer has keyboard focus. (Inherited from ActivityDesigner.)
Protected methodOnLayoutPositionPerforms layout and positioning tasks for the contained visual cues or designers on the CompositeActivityDesigner to reposition its child activities. (Overrides ActivityDesigner.OnLayoutPosition(ActivityDesignerLayoutEventArgs).)
Protected methodOnLayoutSizeCalled to calculate the size needed for an activity based on its current state (collapsed or expanded) and its list of child activities. (Overrides ActivityDesigner.OnLayoutSize(ActivityDesignerLayoutEventArgs).)
Protected methodOnMouseCaptureChangedOccurs when the mouse capture changes. (Inherited from ActivityDesigner.)
Protected methodOnMouseDoubleClickOccurs when the mouse button is clicked multiple times on the designer. (Inherited from ActivityDesigner.)
Protected methodOnMouseDownCalled when the mouse is clicked when the pointer is in designer bounds. (Overrides ActivityDesigner.OnMouseDown(MouseEventArgs).)
Protected methodOnMouseDragBeginOccurs when the user starts to drag the mouse on the designer. (Inherited from ActivityDesigner.)
Protected methodOnMouseDragEndOccurs when the user stops dragging the mouse on the designer. (Inherited from ActivityDesigner.)
Protected methodOnMouseDragMoveOccurs on each movement of the mouse as the user drags the pointer over the designer. (Inherited from ActivityDesigner.)
Protected methodOnMouseEnterOccurs when the mouse first enters the designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnMouseHoverOccurs when the pointer is in designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnMouseLeaveOccurs when the pointer leaves designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnMouseMoveOccurs when the pointer is moving in designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnMouseUpOccurs when the mouse button is released when the pointer is in designer bounds. (Inherited from ActivityDesigner.)
Protected methodOnPaintDraws the visual representation of a composite activity at design time. (Overrides ActivityDesigner.OnPaint(ActivityDesignerPaintEventArgs).)
Protected methodOnProcessMessageAllows the designer to process raw Win32 messages. (Inherited from ActivityDesigner.)
Protected methodOnQueryContinueDragControls whether the drag operation should continue. (Inherited from ActivityDesigner.)
Protected methodOnResizingNotifies the ActivityDesigner when a user is visually resizing it at design time. The method is only called if the activity designer is a child of a FreeFormActivityDesigner. (Inherited from ActivityDesigner.)
Protected methodOnScrollNotifies the ActivityDesigner when a user changes the scroll position. (Inherited from ActivityDesigner.)
Protected methodOnShowSmartTagVerbsDisplays the designer verbs associated with a smart tag at the specified point. (Inherited from ActivityDesigner.)
Protected methodOnSmartTagVisibilityChangedNotifies the ActivityDesigner whether a smart tag should be displayed or hidden. (Inherited from ActivityDesigner.)
Protected methodOnThemeChangeNotifies the designer that the associated theme has changed. (Overrides ActivityDesigner.OnThemeChange(ActivityDesignerTheme).)
Protected methodPaintContainedDesignersAdjusts the clip region on the graphics object and calls OnPaint on all contained designers.
Protected methodPerformLayoutUpdates the layout of the designer. (Inherited from ActivityDesigner.)
Protected methodPointToLogicalTransforms a point from screen coordinate system to the activity designer coordinate system. (Inherited from ActivityDesigner.)
Protected methodPointToScreenTransforms a point from the activity designer coordinate system to the screen coordinate system. (Inherited from ActivityDesigner.)
Protected methodPostFilterAttributesWhen overridden in a derived class, allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Protected methodPostFilterEventsWhen overridden in a derived class, allows the designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Protected methodPostFilterPropertiesWhen overridden in a derived class, allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Protected methodPreFilterAttributesWhen overridden in a derived class, allows a designer to add items to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Protected methodPreFilterEventsWhen overridden in a derived class, allows a designer to add items to the set of events that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Protected methodPreFilterPropertiesWhen overridden in a derived class, allows a designer to add items to the set of properties that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Protected methodRectangleToLogicalTransforms a rectangle from the screen coordinate system to the activity designer coordinate system. (Inherited from ActivityDesigner.)
Protected methodRectangleToScreenTransforms a rectangle from the activity designer coordinate system to the screen coordinate system. (Inherited from ActivityDesigner.)
Protected methodRefreshDesignerActionsRefreshes the configuration errors associated with the designer. (Inherited from ActivityDesigner.)
Protected methodRefreshDesignerVerbsRefreshes the activity designer verbs associated with the designer by calling the status handler. (Inherited from ActivityDesigner.)
Public methodRemoveActivities(ReadOnlyCollection<Activity>)Removes a list of activities from the composite activity designer.
Public methodStatic memberRemoveActivities(IServiceProvider, ReadOnlyCollection<Activity>, String)Removes the list of activities from the designer using a transaction.
Protected methodSaveViewStateSaves the view state to a binary stream. (Overrides ActivityDesigner.SaveViewState(BinaryWriter).)
Public methodStatic memberSerializeActivitiesToDataObjectSerializes an array of activities to an IDataObject that can be placed into the clipboard or used when initializing a drag and drop operation.
Protected methodShowInfoTip(String)Shows the specified info tip. (Inherited from ActivityDesigner.)
Protected methodShowInfoTip(String, String)Displays the info tip for the ActivityDesigner with the specified title and text. (Inherited from ActivityDesigner.)
Protected methodShowInPlaceTipDisplays the specified tool tip in the specified rectangle location. (Inherited from ActivityDesigner.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyIDesigner.ComponentGets the base component with which the activity designer is associated. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesigner.DoDefaultActionPerforms the default action associated with the designer. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesigner.InitializeInitializes the designer with the associated activity. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate propertyIDesigner.VerbsGets the design-time verbs associated with the activity designer. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PostFilterAttributesWhen overridden in a derived class, allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PostFilterEventsWhen overridden in a derived class, allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PostFilterPropertiesWhen overridden in a derived class, allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PreFilterAttributesWhen overridden in a derived class, allows a designer to add items to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PreFilterEventsWhen overridden in a derived class, allows a designer to add items to the set of events that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PreFilterPropertiesWhen overridden in a derived class, allows a designer to add items to the set of properties that it exposes through a TypeDescriptor. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIPersistUIState.LoadViewStateRestores the view state from a binary stream. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIPersistUIState.SaveViewStateSaves the view state to a binary stream. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIRootDesigner.GetViewReturns a view object for the specified view technology. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate propertyIRootDesigner.SupportedTechnologiesGets the array of technologies that the activity designer can support for its display. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIToolboxUser.GetToolSupportedDetermines whether the specified Toolbox item is supported by the current activity designer. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIToolboxUser.ToolPickedSelects the specified toolbox item. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate propertyIWorkflowRootDesigner.InvokingDesignerGets or sets the CompositeActivityDesigner that requested the activity designer be initialized. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate methodIWorkflowRootDesigner.IsSupportedActivityTypeReturns a value that indicates whether the specified type is supported on the current ActivityDesigner. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate propertyIWorkflowRootDesigner.MessageFiltersGets any message filters associated with the activity designer. (Inherited from ActivityDesigner.)
Explicit interface implemetationPrivate propertyIWorkflowRootDesigner.SupportsLayoutPersistenceGets the value that indicates whether the actual workflow root designer supports the layout persistence. (Inherited from ActivityDesigner.)
Top

NoteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Use the CompositeActivityDesigner to visually design composite activities, to customize the layout, and to manage the drawing of the CompositeActivity.

The CompositeActivityDesigner also enables you to manage events for the contained activity designers. It also enables you to customize and manage the position, size, and layout of contained activity designers.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft