Bearbeiten

Freigeben über


CompositeActivityDesigner Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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

public ref class CompositeActivityDesigner abstract : System::Workflow::ComponentModel::Design::ActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))]
public abstract class CompositeActivityDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class CompositeActivityDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))>]
type CompositeActivityDesigner = class
    inherit ActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CompositeActivityDesigner = class
    inherit ActivityDesigner
Public MustInherit Class CompositeActivityDesigner
Inherits ActivityDesigner
Inheritance
CompositeActivityDesigner
Derived
Attributes

Remarks

Note

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.

Constructors

CompositeActivityDesigner()

When implemented in a derived class, initializes an instance of the CompositeActivityDesigner.

Properties

AccessibilityObject

Gets a AccessibleObject that accessibility applications use to adjust the application look and feel for people with disabilities.

Activity

Gets the Activity associated with the designer.

(Inherited from ActivityDesigner)
Bounds

Gets a Rectangle which contains the value for the enclosing rectangle of the designer in logical coordinates.

(Inherited from ActivityDesigner)
CanExpandCollapse

Gets a value that indicates whether the CompositeActivityDesigner can be collapsed.

ContainedDesigners

Gets the array of ActivityDesigner contained within the CompositeActivityDesigner.

DesignerActions

Gets the array of actions associated with configuration errors.

(Inherited from ActivityDesigner)
DesignerTheme

Gets the current designer theme for the activity designer.

(Inherited from ActivityDesigner)
EnableVisualResizing

Gets a value that indicates whether the activity designer can be resized in a free form designer.

(Inherited from ActivityDesigner)
ExpandButtonRectangle

Gets the Rectangle that contains the expand or collapse button.

Expanded

Gets or sets a value that indicates whether the CompositeActivityDesigner is expanded.

FirstSelectableObject

Gets the first selectable object in the navigation order of the CompositeActivityDesigner.

Glyphs

Gets a collection of glyphs with which to adorn the composite activity designer.

Image

Gets or sets the Image associated with the designer.

(Inherited from ActivityDesigner)
ImageRectangle

Gets the value for the enclosing bounds of the image associated with the designer in logical coordinates.

InvokingDesigner

Gets or sets the designer of the activity that invokes the activity associated with the current activity designer.

(Inherited from ActivityDesigner)
IsEditable

Gets a value that indicates whether the designer can be edited.

IsLocked

Gets a value that indicates whether the activity associated with the designer can be modified.

(Inherited from ActivityDesigner)
IsPrimarySelection

Gets a value that indicates whether the activity associated with the designer is the primary selection.

(Inherited from ActivityDesigner)
IsRootDesigner

Gets a value that indicates whether the designer is a root designer.

(Inherited from ActivityDesigner)
IsSelected

Gets a value that indicates whether the activity associated with the designer is selected.

(Inherited from ActivityDesigner)
IsVisible

Gets a value that indicates whether the activity associated with the designer is visible on the workflow.

(Inherited from ActivityDesigner)
LastSelectableObject

Gets the last selectable object contained within the CompositeActivityDesigner.

Location

Gets or sets the location of the designer in logical coordinates.

MessageFilters

Gets a read-only collection of message filters that are associated with the activity designer.

(Inherited from ActivityDesigner)
MinimumSize

Gets the minimum size for the activity designer.

(Inherited from ActivityDesigner)
ParentDesigner

Gets the parent designer of the existing designer.

(Inherited from ActivityDesigner)
ParentView

Gets the workflow view that contains the current activity designer.

(Inherited from ActivityDesigner)
ShowSmartTag

Gets a value that indicates whether the activity should show a smart tag.

(Inherited from ActivityDesigner)
Size

Gets or sets the size of the ActivityDesigner.

(Inherited from ActivityDesigner)
SmartTagRectangle

Gets the rectangle where the smart tag should be displayed.

(Inherited from ActivityDesigner)
SmartTagVerbs

Gets a read-only collection of designer actions to associate with a smart tag on the activity designer.

(Inherited from ActivityDesigner)
Text

Gets or sets the text to associate with the designer.

(Inherited from ActivityDesigner)
TextRectangle

Gets the value of the description rectangle in logical coordinates.

TitleHeight

Gets the height of the title area of the designer.

Verbs

Gets the collection of verbs to be associated with the designer.

(Inherited from ActivityDesigner)

Methods

CanBeParentedTo(CompositeActivityDesigner)

Returns a value that indicates if a CompositeActivity can be set as the parent of the activity associated with the designer.

(Inherited from ActivityDesigner)
CanConnect(ConnectionPoint, ConnectionPoint)

Returns 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)
CanInsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)

Returns a value that indicates whether activities can be inserted into the composite activity associated with the designer.

CanMoveActivities(HitTestInfo, ReadOnlyCollection<Activity>)

Returns a value that indicates whether activities contained within the composite activity can be moved out of the composite activity associated with the designer.

CanRemoveActivities(ReadOnlyCollection<Activity>)

Returns a value that indicates if activities can be removed from the composite activity associated with the designer.

CreateView(ViewTechnology)

Creates a workflow view for the current activity designer using the specified ViewTechnology.

(Inherited from ActivityDesigner)
DeserializeActivitiesFromDataObject(IServiceProvider, IDataObject)

Deserializes items from an IDataObject received during a drag-and-drop operation or from the clipboard.

Dispose()

Releases the unmanaged resources used by the ActivityDesigner and optionally releases the managed resources.

(Inherited from ActivityDesigner)
Dispose(Boolean)

Releases the unmanaged resources used by the CompositeActivityDesigner and optionally releases the managed resources.

DoDefaultAction()

Performs the default UI action associated with the designer.

(Inherited from ActivityDesigner)
EnsureVisible()

Shifts the visible area of the screen to guarantee that the specified designer is visible.

(Inherited from ActivityDesigner)
EnsureVisibleContainedDesigner(ActivityDesigner)

Verifies that the contained designer is visible.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetConnectionPoints(DesignerEdges)

Returns a read-only collection of connection points for the activity designer along the specified DesignerEdges.

(Inherited from ActivityDesigner)
GetConnections(DesignerEdges)

Returns a read-only collection of points that the designer uses for connections.

(Inherited from ActivityDesigner)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIntersectingDesigners(ActivityDesigner, Rectangle)

Retrieves designers belonging to the specified root activity that intersect a specified area.

GetNextSelectableObject(Object, DesignerNavigationDirection)

Gets the object which is next in the order of navigation.

GetPreviewImage(Graphics)

Gets the image of the activity designer on the specified Graphics.

(Inherited from ActivityDesigner)
GetService(Type)

Tries to retrieve the specified type of service from the design mode site for the activity associated with the designer.

(Inherited from ActivityDesigner)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HitTest(Point)

Gets information about the CompositeActivityDesigner at a specified point on the screen.

Initialize(Activity)

Initializes the designer with the associated Activity.

InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String)

Inserts activities into the designer at the specified location using a transaction.

InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)

Inserts the specified activities in the designer at the specified location.

Invalidate()

Invalidates the designer.

(Inherited from ActivityDesigner)
Invalidate(Rectangle)

Invalidates the specified rectangle on the designer.

(Inherited from ActivityDesigner)
IsContainedDesignerVisible(ActivityDesigner)

Gets a value that indicates if the contained designer is visible.

IsSupportedActivityType(Type)

Returns a value that indicates whether the specified activity type is supported if the activity designer is a root designer.

(Inherited from ActivityDesigner)
LoadViewState(BinaryReader)

Restores the view state from a binary stream.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveActivities(HitTestInfo, ReadOnlyCollection<Activity>)

Moves activities from one designer to another.

MoveDesigners(ActivityDesigner, Boolean)

Moves a designer forward or backwards in index within the composite activity.

OnActivityChanged(ActivityChangedEventArgs)

Notifies the ActivityDesigner when the activity it is associated with changes.

(Inherited from ActivityDesigner)
OnBeginResizing(ActivityDesignerResizeEventArgs)

Notifies the ActivityDesigner when a user starts to visually resize the activity designer when the designer is in a FreeformActivityDesigner.

(Inherited from ActivityDesigner)
OnConnected(ConnectionPoint, ConnectionPoint)

Notifies the ActivityDesigner when a connection is established between two connection points.

(Inherited from ActivityDesigner)
OnContainedActivitiesChanged(ActivityCollectionChangeEventArgs)

Occurs 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.

OnContainedActivitiesChanging(ActivityCollectionChangeEventArgs)

Occurs 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.

OnContainedActivityChanged(ActivityChangedEventArgs)

Occurs when an activity contained within the designer has changed.

OnDragDrop(ActivityDragEventArgs)

Occurs when the drag-drop operation is completed inside designer bounds.

(Inherited from ActivityDesigner)
OnDragEnter(ActivityDragEventArgs)

Occurs when the drag-drop operation is in progress and the pointer enters the designer bounds.

(Inherited from ActivityDesigner)
OnDragLeave()

Occurs when the drag-drop operation is in progress and the pointer leaves the designer bounds.

(Inherited from ActivityDesigner)
OnDragOver(ActivityDragEventArgs)

Occurs when the drag-drop operation is in progress and the pointer is within the designer bounds.

(Inherited from ActivityDesigner)
OnEndResizing()

Notifies the ActivityDesigner when a user is finished visually resizing the activity designer when the designer is in a FreeformActivityDesigner.

(Inherited from ActivityDesigner)
OnExecuteDesignerAction(DesignerAction)

Notifies the ActivityDesigner when the user clicks on the configuration errors associated with the designer.

(Inherited from ActivityDesigner)
OnGiveFeedback(GiveFeedbackEventArgs)

Updates the visual cues for feedback supplied to the user when performing a drag operation.

(Inherited from ActivityDesigner)
OnKeyDown(KeyEventArgs)

Called when a key is pressed with the designer in focus.

OnKeyUp(KeyEventArgs)

Occurs when a key is released when the designer has keyboard focus.

(Inherited from ActivityDesigner)
OnLayoutPosition(ActivityDesignerLayoutEventArgs)

Performs layout and positioning tasks for the contained visual cues or designers on the CompositeActivityDesigner to reposition its child activities.

OnLayoutSize(ActivityDesignerLayoutEventArgs)

Called to calculate the size needed for an activity based on its current state (collapsed or expanded) and its list of child activities.

OnMouseCaptureChanged()

Occurs when the mouse capture changes.

(Inherited from ActivityDesigner)
OnMouseDoubleClick(MouseEventArgs)

Occurs when the mouse button is clicked multiple times on the designer.

(Inherited from ActivityDesigner)
OnMouseDown(MouseEventArgs)

Called when the mouse is clicked when the pointer is in designer bounds.

OnMouseDragBegin(Point, MouseEventArgs)

Occurs when the user starts to drag the mouse on the designer.

(Inherited from ActivityDesigner)
OnMouseDragEnd()

Occurs when the user stops dragging the mouse on the designer.

(Inherited from ActivityDesigner)
OnMouseDragMove(MouseEventArgs)

Occurs on each movement of the mouse as the user drags the pointer over the designer.

(Inherited from ActivityDesigner)
OnMouseEnter(MouseEventArgs)

Occurs when the mouse first enters the designer bounds.

(Inherited from ActivityDesigner)
OnMouseHover(MouseEventArgs)

Occurs when the pointer is in designer bounds.

(Inherited from ActivityDesigner)
OnMouseLeave()

Occurs when the pointer leaves designer bounds.

(Inherited from ActivityDesigner)
OnMouseMove(MouseEventArgs)

Occurs when the pointer is moving in designer bounds.

(Inherited from ActivityDesigner)
OnMouseUp(MouseEventArgs)

Occurs when the mouse button is released when the pointer is in designer bounds.

(Inherited from ActivityDesigner)
OnPaint(ActivityDesignerPaintEventArgs)

Draws the visual representation of a composite activity at design time.

OnProcessMessage(Message)

Allows the designer to process raw Win32 messages.

(Inherited from ActivityDesigner)
OnQueryContinueDrag(QueryContinueDragEventArgs)

Controls whether the drag operation should continue.

(Inherited from ActivityDesigner)
OnResizing(ActivityDesignerResizeEventArgs)

Notifies 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)
OnScroll(ScrollBar, Int32)

Notifies the ActivityDesigner when a user changes the scroll position.

(Inherited from ActivityDesigner)
OnShowSmartTagVerbs(Point)

Displays the designer verbs associated with a smart tag at the specified point.

(Inherited from ActivityDesigner)
OnSmartTagVisibilityChanged(Boolean)

Notifies the ActivityDesigner whether a smart tag should be displayed or hidden.

(Inherited from ActivityDesigner)
OnThemeChange(ActivityDesignerTheme)

Notifies the designer that the associated theme has changed.

PaintContainedDesigners(ActivityDesignerPaintEventArgs)

Adjusts the clip region on the graphics object and calls OnPaint(ActivityDesignerPaintEventArgs) on all contained designers.

PerformLayout()

Updates the layout of the designer.

(Inherited from ActivityDesigner)
PointToLogical(Point)

Transforms a point from screen coordinate system to the activity designer coordinate system.

(Inherited from ActivityDesigner)
PointToScreen(Point)

Transforms a point from the activity designer coordinate system to the screen coordinate system.

(Inherited from ActivityDesigner)
PostFilterAttributes(IDictionary)

When 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)
PostFilterEvents(IDictionary)

When 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)
PostFilterProperties(IDictionary)

When 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)
PreFilterAttributes(IDictionary)

When 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)
PreFilterEvents(IDictionary)

When 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)
PreFilterProperties(IDictionary)

When 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)
RectangleToLogical(Rectangle)

Transforms a rectangle from the screen coordinate system to the activity designer coordinate system.

(Inherited from ActivityDesigner)
RectangleToScreen(Rectangle)

Transforms a rectangle from the activity designer coordinate system to the screen coordinate system.

(Inherited from ActivityDesigner)
RefreshDesignerActions()

Refreshes the configuration errors associated with the designer.

(Inherited from ActivityDesigner)
RefreshDesignerVerbs()

Refreshes the activity designer verbs associated with the designer by calling the status handler.

(Inherited from ActivityDesigner)
RemoveActivities(IServiceProvider, ReadOnlyCollection<Activity>, String)

Removes the list of activities from the designer using a transaction.

RemoveActivities(ReadOnlyCollection<Activity>)

Removes a list of activities from the composite activity designer.

SaveViewState(BinaryWriter)

Saves the view state to a binary stream.

SerializeActivitiesToDataObject(IServiceProvider, Activity[])

Serializes an array of activities to an IDataObject that can be placed into the clipboard or used when initializing a drag and drop operation.

ShowInfoTip(String, String)

Displays the info tip for the ActivityDesigner with the specified title and text.

(Inherited from ActivityDesigner)
ShowInfoTip(String)

Shows the specified info tip.

(Inherited from ActivityDesigner)
ShowInPlaceTip(String, Rectangle)

Displays the specified tool tip in the specified rectangle location.

(Inherited from ActivityDesigner)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDesigner.Component

Gets the base component with which the activity designer is associated.

(Inherited from ActivityDesigner)
IDesigner.DoDefaultAction()

Performs the default action associated with the designer.

(Inherited from ActivityDesigner)
IDesigner.Initialize(IComponent)

Initializes the designer with the associated activity.

(Inherited from ActivityDesigner)
IDesigner.Verbs

Gets the design-time verbs associated with the activity designer.

(Inherited from ActivityDesigner)
IDesignerFilter.PostFilterAttributes(IDictionary)

When 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)
IDesignerFilter.PostFilterEvents(IDictionary)

When 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)
IDesignerFilter.PostFilterProperties(IDictionary)

When 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)
IDesignerFilter.PreFilterAttributes(IDictionary)

When 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)
IDesignerFilter.PreFilterEvents(IDictionary)

When 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)
IDesignerFilter.PreFilterProperties(IDictionary)

When 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)
IPersistUIState.LoadViewState(BinaryReader)

Restores the view state from a binary stream.

(Inherited from ActivityDesigner)
IPersistUIState.SaveViewState(BinaryWriter)

Saves the view state to a binary stream.

(Inherited from ActivityDesigner)
IRootDesigner.GetView(ViewTechnology)

Returns a view object for the specified view technology.

(Inherited from ActivityDesigner)
IRootDesigner.SupportedTechnologies

Gets the array of technologies that the activity designer can support for its display.

(Inherited from ActivityDesigner)
IToolboxUser.GetToolSupported(ToolboxItem)

Determines whether the specified Toolbox item is supported by the current activity designer.

(Inherited from ActivityDesigner)
IToolboxUser.ToolPicked(ToolboxItem)

Selects the specified toolbox item.

(Inherited from ActivityDesigner)
IWorkflowRootDesigner.InvokingDesigner

Gets or sets the CompositeActivityDesigner that requested the activity designer be initialized.

(Inherited from ActivityDesigner)
IWorkflowRootDesigner.IsSupportedActivityType(Type)

Returns a value that indicates whether the specified type is supported on the current ActivityDesigner.

(Inherited from ActivityDesigner)
IWorkflowRootDesigner.MessageFilters

Gets any message filters associated with the activity designer.

(Inherited from ActivityDesigner)
IWorkflowRootDesigner.SupportsLayoutPersistence

Gets the value that indicates whether the actual workflow root designer supports the layout persistence.

(Inherited from ActivityDesigner)

Applies to