編輯

共用方式為


SequentialWorkflowRootDesigner Class

Definition

Caution

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

Contains properties and methods to provide consistent look and feel to all root designers on a workflow design surface.

public ref class SequentialWorkflowRootDesigner : System::Workflow::ComponentModel::Design::SequentialActivityDesigner
public class SequentialWorkflowRootDesigner : System.Workflow.ComponentModel.Design.SequentialActivityDesigner
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class SequentialWorkflowRootDesigner : System.Workflow.ComponentModel.Design.SequentialActivityDesigner
type SequentialWorkflowRootDesigner = class
    inherit SequentialActivityDesigner
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type SequentialWorkflowRootDesigner = class
    inherit SequentialActivityDesigner
Public Class SequentialWorkflowRootDesigner
Inherits SequentialActivityDesigner
Inheritance
Attributes

Remarks

Note

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

Typically, an instance of a sequential workflow root designer class is created when a workflow is created in a workflow designer and it represents the designer surface on which users can add and edit activities. A workflow root designer does not have a parent designer unless it is the child of an InvokeWorkflowActivity activity. All workflow root designers must derive from SequentialWorkflowRootDesigner.

Constructors

SequentialWorkflowRootDesigner()

Initializes a new instance of the SequentialWorkflowRootDesigner class.

Properties

AccessibilityObject

Gets an AccessibleObject that allows the SequentialActivityDesigner to adjust its UI for users who have disabilities.

(Inherited from SequentialActivityDesigner)
ActiveView

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

(Inherited from 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 indicating whether the designer can be expanded and collapsed.

ContainedDesigners

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

(Inherited from StructuredCompositeActivityDesigner)
CurrentDropTarget

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

(Inherited from StructuredCompositeActivityDesigner)
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 indicating whether the designer is expanded on the workflow design surface.

(Inherited from SequentialActivityDesigner)
FirstSelectableObject

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

(Inherited from SequentialActivityDesigner)
Footer

Gets the footer associated with the root designer.

Glyphs

Gets the collection of glyphs that are displayed on the SequentialWorkflowRootDesigner.

Header

Gets the header associated with the root designer.

HelpText

Gets or sets the text to display when the SequentialActivityDesigner contains no other activity designers.

(Inherited from SequentialActivityDesigner)
HelpTextRectangle

Gets the rectangle that serves as the bounds for the text displayed by the HelpText property.

(Inherited from SequentialActivityDesigner)
HelpTextSize

Gets the height and width of the text to display in the SequentialActivityDesigner when it contains no child activity designers.

(Inherited from SequentialActivityDesigner)
Image

Gets the image associated with the designer.

ImageRectangle

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

InvokingDesigner

Gets or sets the CompositeActivityDesigner that requested the sequential workflow root designer to be initialized.

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

(Inherited from SequentialActivityDesigner)
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 for the SequentialWorkflowRootDesigner.

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 root designer displays smart tags.

Size

Gets or sets the size of the ActivityDesigner.

(Inherited from ActivityDesigner)
SmartTagRectangle

Gets the rectangle on the designer surface in which to display a smart tag.

SmartTagVerbs

Gets a read-only collection of designer actions that are associated with the smart tags on the designer.

(Inherited from StructuredCompositeActivityDesigner)
Text

Gets the description associated with the designer.

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.

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.

(Inherited from StructuredCompositeActivityDesigner)

Methods

CanBeParentedTo(CompositeActivityDesigner)

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

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.

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

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

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

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

Returns an array of rectangles that bound the activity designer's connectors.

(Inherited from SequentialActivityDesigner)
GetDropTargets(Point)

Returns array of rectangles that represent the valid drop locations within the SequentialActivityDesigner.

(Inherited from SequentialActivityDesigner)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInnerConnections(DesignerEdges)

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

GetNextSelectableObject(Object, DesignerNavigationDirection)

Returns the first selectable object that follows the specified object in the navigation order of the current SequentialActivityDesigner.

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

Returns information about the SequentialActivityDesigner at the specified point on the workflow design surface.

(Inherited from SequentialActivityDesigner)
Initialize(Activity)

Initializes the designer by using the specified activity.

(Inherited from SequentialActivityDesigner)
InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)

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

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

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

(Inherited from StructuredCompositeActivityDesigner)
OnActivityChanged(ActivityChangedEventArgs)

Notifies the designer when the activity associated with it changes.

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

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

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

(Inherited from StructuredCompositeActivityDesigner)
OnDragLeave()

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

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

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

(Inherited from SequentialActivityDesigner)
OnLayoutSize(ActivityDesignerLayoutEventArgs)

Sets the size of the visual cues on the designers contained within the SequentialWorkflowRootDesigner.

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 any headers and footers associated with the SequentialWorkflowRootDesigner.

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.

(Inherited from StructuredCompositeActivityDesigner)
OnSmartTagVisibilityChanged(Boolean)

Notifies the designer whether smart tags are to be shown or hidden on the SequentialWorkflowRootDesigner.

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.

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

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