Connector 类

定义

注意

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

表示工作流设计图面上的两个活动设计器之间的连接器。

public ref class Connector : IDisposable
public class Connector : IDisposable
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class Connector : IDisposable
type Connector = class
    interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type Connector = class
    interface IDisposable
Public Class Connector
Implements IDisposable
继承
Connector
属性
实现

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

连接器是工作流设计图面上显示的一条线,用于将一个活动设计器连接到另一个活动设计器。 Connector 提供方法和属性,用于自定义在设计时呈现活动设计器时如何绘制一组连接器。

构造函数

名称 说明
Connector(ConnectionPoint, ConnectionPoint)
已过时.

初始化 Connector 类的新实例。

属性

名称 说明
AccessibilityObject
已过时.

AccessibleObject获取辅助功能应用程序用于调整有障碍的用户的应用程序 UI。

Bounds
已过时.

获取工作流设计图面上连接器的边界矩形。

ConnectorModified
已过时.

获取指示是否 Connector 修改的值。

ConnectorSegments
已过时.

获取一个只读的点集合,其中包含在 . Connector. 中找到的所有段。

ExcludedRoutingRectangles
已过时.

返回一个矩形对象的空数组。 派生类填充此集合。

ParentDesigner
已过时.

获取连接器显示在工作流设计图面上的设计器。

ParentView
已过时.

获取与连接器关联的工作流视图。

Source
已过时.

获取或设置 ConnectionPoint 开始的绘制 Connector 位置。

Target
已过时.

获取或设置 ConnectionPoint 端点的 Connector 绘制位置。

方法

名称 说明
Equals(Object)
已过时.

确定当前 Connector 是否等于指定的连接器。

GetHashCode()
已过时.

返回当前 Connector哈希代码。

GetService(Type)
已过时.

返回指定类型的服务对象(如果可用)。

GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
HitTest(Point)
已过时.

返回一个值,该值指示指定的点是否驻留在当前 Connector点上。

Invalidate()
已过时.

使当前 Connector 无效并导致重新绘制它。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
Offset(Size)
已过时.

Connector使用指定Size设置更改高度和宽度。

OnLayout(ActivityDesignerLayoutEventArgs)
已过时.

通知 Connector 布局操作正在发生。

OnPaint(ActivityDesignerPaintEventArgs)
已过时.

呈现 Connector 工作流设计图面。

OnPaintEdited(ActivityDesignerPaintEventArgs, Point[], Point[])
已过时.

用于在将连接器从一个状态拖动到另一个状态时绘制连接器。

OnPaintSelected(ActivityDesignerPaintEventArgs, Boolean, Point[])
已过时.

用于绘制用户选择的连接器。

PerformLayout()
已过时.

Connector. 执行布局任务。

SetConnectorSegments(ICollection<Point>)
已过时.

如果连接器已更改,则从源重新路由连接器到目标。

ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

显式接口实现

名称 说明
IDisposable.Dispose()
已过时.

释放该 Connector命令使用的所有资源。

适用于