ערוך

שתף באמצעות


ActivityPreviewDesigner Class

Definition

Caution

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

Displays a collection of child activity designers in a preview strip and, when a child designer is selected on the preview strip, displays the selected activity designer in preview or edit mode on a workflow design surface.

public ref class ActivityPreviewDesigner : System::Workflow::ComponentModel::Design::SequentialActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityPreviewDesignerTheme))]
public class ActivityPreviewDesigner : System.Workflow.ComponentModel.Design.SequentialActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityPreviewDesignerTheme))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityPreviewDesigner : System.Workflow.ComponentModel.Design.SequentialActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityPreviewDesignerTheme))>]
type ActivityPreviewDesigner = class
    inherit SequentialActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityPreviewDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityPreviewDesigner = class
    inherit SequentialActivityDesigner
Public Class ActivityPreviewDesigner
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.

ActivityPreviewDesigner is a sequential activity designer that displays all of its child activity designers in a strip that appears at the top of its design surface. When one of the child designers is selected, its representation is displayed in a preview window that the activity preview designer hosts below the strip. The ActivityPreviewDesigner has a preview mode and an edit mode. Preview mode allows the user to view the entire representation of the selected designer without scrolling; however, preview mode does not allow the user to modify the selected activity designer. Edit mode allows the user to modify the selected activity designer.

Constructors

ActivityPreviewDesigner()

Initializes a new instance of the ActivityPreviewDesigner class.

Properties

AccessibilityObject

Gets an AccessibleObject that allows the designer to adjust its UI for users with disabilities.

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 SequentialActivityDesigner can be expanded and collapsed on the workflow designer surface.

(Inherited from SequentialActivityDesigner)
ContainedDesigners

Gets a collection of activity designers that are displayed by the activity preview designer.

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

Glyphs

Gets a read-only collection of glyphs that are associated with the ActivityPreviewDesigner.

HelpText

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

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

Location

Gets or sets the location of the designer in logical coordinates on the workflow design surface.

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.

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

Gets the designer to preview in the preview section of the activity designer.

ShowPreview

Gets or sets a value indicating whether the activity preview should be displayed in the designer.

ShowSmartTag

Gets a value indicating whether the StructuredCompositeActivityDesigner displays smart tags.

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

(Inherited from StructuredCompositeActivityDesigner)
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 associate with the ActivityPreviewDesigner.

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

(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 ActivityPreviewDesigner and optionally releases the managed resources.

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.

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.

GetDropTargets(Point)

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

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.

(Inherited from StructuredCompositeActivityDesigner)
GetNextSelectableObject(Object, DesignerNavigationDirection)

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

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 ActivityPreviewDesigner at the specified coordinates on the workflow design surface.

Initialize(Activity)

Initializes the designer used by the specified activity.

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)

Returns a value that indicates whether the specified activity designer is visible in the ActivityPreviewDesigner.

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

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

Notifies the designer that the number of activities contained in the ActivityPreviewDesigner has changed.

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

(Inherited from StructuredCompositeActivityDesigner)
OnDragOver(ActivityDragEventArgs)

Notifies the ActivityPreviewDesigner 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 ActivityPreviewDesigner.

OnLayoutSize(ActivityDesignerLayoutEventArgs)

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

OnMouseCaptureChanged()

Occurs when the mouse capture changes.

(Inherited from ActivityDesigner)
OnMouseDoubleClick(MouseEventArgs)

Notifies the ActivityPreviewDesigner when the user double-clicks on the surface of the activity designer.

OnMouseDown(MouseEventArgs)

Notifies the ActivityPreviewDesigner when the user presses the mouse button down while 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()

Notifies the designer when the user moves the mouse cursor out of designer bounds.

OnMouseMove(MouseEventArgs)

Occurs when the pointer is moving in designer bounds.

(Inherited from ActivityDesigner)
OnMouseUp(MouseEventArgs)

Notifies the designer when the user releases the mouse button in the designer bounds.

OnPaint(ActivityDesignerPaintEventArgs)

Draws the visual representation of the activity associated with the ActivityPreviewDesigner 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 a specified location on the workflow design surface.

(Inherited from StructuredCompositeActivityDesigner)
OnSmartTagVisibilityChanged(Boolean)

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

(Inherited from ActivityDesigner)
OnThemeChange(ActivityDesignerTheme)

Notifies the ActivityPreviewDesigner that its associated theme has changed.

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

Updates the configuration errors associated with the ActivityPreviewDesigner.

RefreshDesignerVerbs()

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

(Inherited from ActivityDesigner)
RefreshPreview()

Updates the view displayed in the preview window of the ActivityPreviewDesigner.

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 ActivityPreviewDesigner 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