Edytuj

Udostępnij za pośrednictwem


StructuredCompositeActivityDesigner Class

Definition

Caution

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

Provides common methods and properties for composite activity designers that contain structured layouts.

public ref class StructuredCompositeActivityDesigner abstract : System::Workflow::ComponentModel::Design::CompositeActivityDesigner
public abstract class StructuredCompositeActivityDesigner : System.Workflow.ComponentModel.Design.CompositeActivityDesigner
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class StructuredCompositeActivityDesigner : System.Workflow.ComponentModel.Design.CompositeActivityDesigner
type StructuredCompositeActivityDesigner = class
    inherit CompositeActivityDesigner
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type StructuredCompositeActivityDesigner = class
    inherit CompositeActivityDesigner
Public MustInherit Class StructuredCompositeActivityDesigner
Inherits CompositeActivityDesigner
Inheritance
StructuredCompositeActivityDesigner
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.

The StructuredCompositeActivityDesigner is the base class for all designers that contain child designers and the child designers are connected to each other using lines rendered on the design surface, called connectors. The class is provided so that activity designer developers can provide a number of activity designer layout types, rather than being tied to the layout provided in the CompositeActivityDesigner class.

Constructors

StructuredCompositeActivityDesigner()

When implemented in a derived class, initializes a new instance of the StructuredCompositeActivityDesigner class.

Properties

AccessibilityObject

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

(Inherited from CompositeActivityDesigner)
ActiveView

Gets or sets the DesignerView that contains information about the current designer view displayed by the StructuredCompositeActivityDesigner.

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.

(Inherited from CompositeActivityDesigner)
ContainedDesigners

Gets a generic read-only collection that contains all activity designers that are children of the StructuredCompositeActivityDesigner.

CurrentDropTarget

Gets or sets the index of the current drop target in the array of drop targets returned by GetDropTargets(Point).

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.

(Inherited from CompositeActivityDesigner)
Expanded

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

(Inherited from CompositeActivityDesigner)
FirstSelectableObject

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

Glyphs

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

(Inherited from CompositeActivityDesigner)
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.

(Inherited from CompositeActivityDesigner)
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.

(Inherited from CompositeActivityDesigner)
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 in the navigation order of the StructuredCompositeActivityDesigner.

Location

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

(Inherited from CompositeActivityDesigner)
MessageFilters

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

(Inherited from ActivityDesigner)
MinimumSize

Gets the minimum size settings for the StructuredCompositeActivityDesigner.

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 indicating whether the StructuredCompositeActivityDesigner displays smart tags.

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 that are associated with the smart tags on the designer.

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.

(Inherited from CompositeActivityDesigner)
TitleHeight

Gets the height of the title area of the designer.

(Inherited from CompositeActivityDesigner)
Verbs

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

(Inherited from ActivityDesigner)
Views

Gets a read-only collection of designer views that the current StructuredCompositeActivityDesigner hosts.

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 the specified activities can be added to the StructuredCompositeActivityDesigner at the specified location on the workflow design surface.

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.

(Inherited from CompositeActivityDesigner)
CanRemoveActivities(ReadOnlyCollection<Activity>)

Returns a value that indicates whether the specified activities can be removed from the StructuredCompositeActivityDesigner.

CreateView(ViewTechnology)

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

(Inherited from ActivityDesigner)
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.

(Inherited from CompositeActivityDesigner)
DoDefaultAction()

Performs the default UI action associated with the designer.

(Inherited from ActivityDesigner)
DrawConnectors(Graphics, Pen, Point[], LineAnchor, LineAnchor)

Draws all of the connectors to display on the StructuredCompositeActivityDesigner.

EnsureVisible()

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

(Inherited from ActivityDesigner)
EnsureVisibleContainedDesigner(ActivityDesigner)

Ensures that the specified activity designer is visible on the workflow design surface.

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)
GetDropTargets(Point)

Returns an array of valid drop locations on the StructuredCompositeActivityDesigner surface.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInnerConnections(DesignerEdges)

Returns a read-only collection of points that represent the inner connection points for the StructuredCompositeActivityDesigner.

GetNextSelectableObject(Object, DesignerNavigationDirection)

Returns the first selectable object that follows the specified object in the navigation order for the current StructuredCompositeActivityDesigner.

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.

(Inherited from CompositeActivityDesigner)
Initialize(Activity)

Initializes the designer by using the specified activity.

InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)

Adds the specified activities to the StructuredCompositeActivityDesigner at the specified location on the workflow design surface.

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.

(Inherited from CompositeActivityDesigner)
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)

Loads the view state of the StructuredCompositeActivityDesigner from a binary stream.

MemberwiseClone()

Creates a shallow copy of the current Object.

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

Moves the specified activities from one designer displayed in the StructuredCompositeActivityDesigner to another.

OnActivityChanged(ActivityChangedEventArgs)

Notifies the designer when the activity associated with it changes.

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.

(Inherited from CompositeActivityDesigner)
OnContainedActivitiesChanging(ActivityCollectionChangeEventArgs)

Notifies the StructuredCompositeActivityDesigner when more than one of the activities it contains has changed.

OnContainedActivityChanged(ActivityChangedEventArgs)

Occurs when an activity contained within the designer has changed.

(Inherited from CompositeActivityDesigner)
OnDragDrop(ActivityDragEventArgs)

Notifies the StructuredCompositeActivityDesigner when a drag-drop operation is completed with the bounds of its design surface.

OnDragEnter(ActivityDragEventArgs)

Notifies the StructuredCompositeActivityDesigner when a drag-drop operation is in progress and the user's mouse cursor enters the bounds of the designer.

OnDragLeave()

Notifies the StructuredCompositeActivityDesigner when a drag-drop operation is in progress and the user's mouse cursor leaves the bounds of the designer.

OnDragOver(ActivityDragEventArgs)

Notifies the StructuredCompositeActivityDesigner when a drag-drop operation is in progress and the user's mouse cursor is inside the bounds of the designer.

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.

(Inherited from CompositeActivityDesigner)
OnKeyUp(KeyEventArgs)

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

(Inherited from ActivityDesigner)
OnLayoutPosition(ActivityDesignerLayoutEventArgs)

Performs layout tasks to position visual cues and child designers on the StructuredCompositeActivityDesigner.

OnLayoutSize(ActivityDesignerLayoutEventArgs)

Notifies the StructuredCompositeActivityDesigner when the size of the visual cues on the designers displayed by the StructuredCompositeActivityDesigner have changed.

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.

(Inherited from CompositeActivityDesigner)
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.

(Inherited from CompositeActivityDesigner)
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 a specified location on the workflow design surface.

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.

(Inherited from CompositeActivityDesigner)
OnViewChanged(DesignerView)

Notifies the StructuredCompositeActivityDesigner when the current designer view changes.

PaintContainedDesigners(ActivityDesignerPaintEventArgs)

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

(Inherited from CompositeActivityDesigner)
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(ReadOnlyCollection<Activity>)

Removes a list of activities from the composite activity designer.

(Inherited from CompositeActivityDesigner)
SaveViewState(BinaryWriter)

Stores the current view state of the StructuredCompositeActivityDesigner to a binary stream.

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