Επεξεργασία

Κοινή χρήση μέσω


ConnectionPoint Class

Definition

Caution

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

Represents a connection point that is displayed on the outer edges of an activity designer on a workflow design surface.

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

Remarks

Note

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

A connection point appears as a small square on the edge of an activity designer surface. It is used as a point where a Connector can originate on the activity designer to connect it with another activity designer.

Constructors

ConnectionPoint(ActivityDesigner, DesignerEdges, Int32)

Initializes a new instance of the ConnectionPoint class by using the specified ActivityDesigner, DesignerEdges enumeration value, and an integer.

Properties

AssociatedDesigner

Gets the activity designer to which the connection point belongs.

Bounds

Gets the bounding rectangle for the connection point.

ConnectionEdge

Gets the designer edge on which the connection point appears.

ConnectionIndex

Gets the connection index for the current ConnectionPoint.

Location

Gets a point that represents the logical location of the ConnectionPoint on the associated ActivityDesigner.

Methods

Equals(Object)

Returns a value that indicates whether the current ConnectionPoint is equal to the specified object.

GetHashCode()

Returns a hash code for the current ConnectionPoint.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnPaint(ActivityDesignerPaintEventArgs, Boolean)

Performs all tasks required to render the ConnectionPoint on the activity designer surface.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to