CompositeActivityDesigner 类

定义

注意

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

提供一个设计器,使你能够直观地设计复合活动。

public ref class CompositeActivityDesigner abstract : System::Workflow::ComponentModel::Design::ActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))]
public abstract class CompositeActivityDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class CompositeActivityDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))>]
type CompositeActivityDesigner = class
    inherit ActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CompositeActivityDesigner = class
    inherit ActivityDesigner
Public MustInherit Class CompositeActivityDesigner
Inherits ActivityDesigner
继承
CompositeActivityDesigner
派生
属性

注解

注释

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

CompositeActivityDesigner使用可视化设计复合活动、自定义布局和管理绘图CompositeActivity

此外, CompositeActivityDesigner 还可以管理包含的活动设计器的事件。 它还使你可以自定义和管理包含的活动设计器的位置、大小和布局。

构造函数

名称 说明
CompositeActivityDesigner()
已过时.

在派生类中实现时,初始化该 CompositeActivityDesigner类的实例。

属性

名称 说明
AccessibilityObject
已过时.

AccessibleObject获取辅助功能应用程序用于调整残障人士的应用程序外观。

Activity
已过时.

获取 Activity 与设计器关联的值。

(继承自 ActivityDesigner)
Bounds
已过时.

获取一个 Rectangle 值,该值包含设计器的封闭矩形的值(以逻辑坐标表示)。

(继承自 ActivityDesigner)
CanExpandCollapse
已过时.

获取一个值,该值指示是否可以 CompositeActivityDesigner 折叠。

ContainedDesigners
已过时.

获取包含在 < a0/ a0> 中的 数组。

DesignerActions
已过时.

获取与配置错误关联的操作数组。

(继承自 ActivityDesigner)
DesignerTheme
已过时.

获取活动设计器的当前设计器主题。

(继承自 ActivityDesigner)
EnableVisualResizing
已过时.

获取一个值,该值指示是否可以在自由窗体设计器中调整活动设计器的大小。

(继承自 ActivityDesigner)
ExpandButtonRectangle
已过时.

Rectangle获取包含展开或折叠按钮的项。

Expanded
已过时.

获取或设置一个值,该值指示是否 CompositeActivityDesigner 展开。

FirstSelectableObject
已过时.

获取导航顺序 CompositeActivityDesigner中的第一个可选择对象。

Glyphs
已过时.

获取用于装饰复合活动设计器的标志符号的集合。

Image
已过时.

获取或设置 Image 与设计器关联的项。

(继承自 ActivityDesigner)
ImageRectangle
已过时.

获取逻辑坐标中与设计器关联的图像的封闭边界的值。

InvokingDesigner
已过时.

获取或设置调用与当前活动设计器关联的活动的活动的设计器。

(继承自 ActivityDesigner)
IsEditable
已过时.

获取一个值,该值指示是否可以编辑设计器。

IsLocked
已过时.

获取一个值,该值指示是否可以修改与设计器关联的活动。

(继承自 ActivityDesigner)
IsPrimarySelection
已过时.

获取一个值,该值指示与设计器关联的活动是否为主要选择。

(继承自 ActivityDesigner)
IsRootDesigner
已过时.

获取一个值,该值指示设计器是否为根设计器。

(继承自 ActivityDesigner)
IsSelected
已过时.

获取一个值,该值指示是否选择了与设计器关联的活动。

(继承自 ActivityDesigner)
IsVisible
已过时.

获取一个值,该值指示与设计器关联的活动是否在工作流上可见。

(继承自 ActivityDesigner)
LastSelectableObject
已过时.

获取包含在中 CompositeActivityDesigner的最后一个可选对象。

Location
已过时.

获取或设置设计器在逻辑坐标中的位置。

MessageFilters
已过时.

获取与活动设计器关联的消息筛选器的只读集合。

(继承自 ActivityDesigner)
MinimumSize
已过时.

获取活动设计器的最小大小。

(继承自 ActivityDesigner)
ParentDesigner
已过时.

获取现有设计器的父设计器。

(继承自 ActivityDesigner)
ParentView
已过时.

获取包含当前活动设计器的工作流视图。

(继承自 ActivityDesigner)
ShowSmartTag
已过时.

获取一个值,该值指示活动是否应显示智能标记。

(继承自 ActivityDesigner)
Size
已过时.

获取或设置 . 的大小 ActivityDesigner

(继承自 ActivityDesigner)
SmartTagRectangle
已过时.

获取应显示智能标记的矩形。

(继承自 ActivityDesigner)
SmartTagVerbs
已过时.

获取与活动设计器上的智能标记关联的设计器操作的只读集合。

(继承自 ActivityDesigner)
Text
已过时.

获取或设置要与设计器关联的文本。

(继承自 ActivityDesigner)
TextRectangle
已过时.

获取逻辑坐标中描述矩形的值。

TitleHeight
已过时.

获取设计器的标题区域的高度。

Verbs
已过时.

获取要与设计器关联的谓词的集合。

(继承自 ActivityDesigner)

方法

名称 说明
CanBeParentedTo(CompositeActivityDesigner)
已过时.

返回一个值,该值指示是否可以将 a CompositeActivity 设置为与设计器关联的活动的父级。

(继承自 ActivityDesigner)
CanConnect(ConnectionPoint, ConnectionPoint)
已过时.

返回一个值,该值指示是否可以在当前活动设计器上的指定连接点与目标活动设计器上的指定连接点之间创建连接。

(继承自 ActivityDesigner)
CanInsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)
已过时.

返回一个值,该值指示是否可以将活动插入到与设计器关联的复合活动中。

CanMoveActivities(HitTestInfo, ReadOnlyCollection<Activity>)
已过时.

返回一个值,该值指示是否可以将复合活动中包含的活动移出与设计器关联的复合活动。

CanRemoveActivities(ReadOnlyCollection<Activity>)
已过时.

返回一个值,该值指示是否可以从与设计器关联的复合活动中删除活动。

CreateView(ViewTechnology)
已过时.

使用指定的 ViewTechnology 为当前活动设计器创建工作流视图。

(继承自 ActivityDesigner)
DeserializeActivitiesFromDataObject(IServiceProvider, IDataObject)
已过时.

从拖放操作期间或剪贴板收到的项 IDataObject 反序列化。

Dispose()
已过时.

释放由托管资源使用 ActivityDesigner 的非托管资源,并选择性地释放托管资源。

(继承自 ActivityDesigner)
Dispose(Boolean)
已过时.

释放由托管资源使用 CompositeActivityDesigner 的非托管资源,并选择性地释放托管资源。

DoDefaultAction()
已过时.

执行与设计器关联的默认 UI 操作。

(继承自 ActivityDesigner)
EnsureVisible()
已过时.

移动屏幕的可见区域,以确保指定的设计器可见。

(继承自 ActivityDesigner)
EnsureVisibleContainedDesigner(ActivityDesigner)
已过时.

验证包含的设计器是否可见。

Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetConnectionPoints(DesignerEdges)
已过时.

返回活动设计器沿指定的 DesignerEdges连接点的只读集合。

(继承自 ActivityDesigner)
GetConnections(DesignerEdges)
已过时.

返回设计器用于连接的点的只读集合。

(继承自 ActivityDesigner)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetIntersectingDesigners(ActivityDesigner, Rectangle)
已过时.

检索属于与指定区域相交的指定根活动的设计器。

GetNextSelectableObject(Object, DesignerNavigationDirection)
已过时.

获取下一个按导航顺序排列的对象。

GetPreviewImage(Graphics)
已过时.

获取指定 Graphics上的活动设计器的图像。

(继承自 ActivityDesigner)
GetService(Type)
已过时.

尝试从与设计器关联的活动的设计模式站点中检索指定的服务类型。

(继承自 ActivityDesigner)
GetType()
已过时.

获取当前实例的 Type

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

获取有关 CompositeActivityDesigner 屏幕上指定点的信息。

Initialize(Activity)
已过时.

使用关联的 Activity设计器初始化设计器。

InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String)
已过时.

使用事务将活动插入到设计器中的指定位置。

InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)
已过时.

将指定的活动插入设计器中的指定位置。

Invalidate()
已过时.

使设计器失效。

(继承自 ActivityDesigner)
Invalidate(Rectangle)
已过时.

使设计器上的指定矩形失效。

(继承自 ActivityDesigner)
IsContainedDesignerVisible(ActivityDesigner)
已过时.

获取一个值,该值指示包含的设计器是否可见。

IsSupportedActivityType(Type)
已过时.

返回一个值,该值指示活动设计器是否支持指定的活动类型(如果活动设计器是根设计器)。

(继承自 ActivityDesigner)
LoadViewState(BinaryReader)
已过时.

从二进制流还原视图状态。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
MoveActivities(HitTestInfo, ReadOnlyCollection<Activity>)
已过时.

将活动从一个设计器移到另一个设计器。

MoveDesigners(ActivityDesigner, Boolean)
已过时.

在复合活动内的索引中向前或向后移动设计器。

OnActivityChanged(ActivityChangedEventArgs)
已过时.

通知 ActivityDesigner 它与更改关联的活动的时间。

(继承自 ActivityDesigner)
OnBeginResizing(ActivityDesignerResizeEventArgs)
已过时.

通知 ActivityDesigner 用户何时开始在设计器中 FreeformActivityDesigner以视觉方式调整活动设计器的大小。

(继承自 ActivityDesigner)
OnConnected(ConnectionPoint, ConnectionPoint)
已过时.

通知在 ActivityDesigner 两个连接点之间建立连接时。

(继承自 ActivityDesigner)
OnContainedActivitiesChanged(ActivityCollectionChangeEventArgs)
已过时.

当设计器中包含的多个活动发生更改时发生。 例如,添加新的子活动或删除现有子活动时,会出现这种情况。

OnContainedActivitiesChanging(ActivityCollectionChangeEventArgs)
已过时.

在设计器中包含的活动或一组活动发生更改时发生。 例如,添加新的子活动或删除现有子活动时,会出现这种情况。

OnContainedActivityChanged(ActivityChangedEventArgs)
已过时.

在设计器中包含的活动已更改时发生。

OnDragDrop(ActivityDragEventArgs)
已过时.

在设计器边界内完成拖放操作时发生。

(继承自 ActivityDesigner)
OnDragEnter(ActivityDragEventArgs)
已过时.

当拖放操作正在进行并且指针进入设计器边界时发生。

(继承自 ActivityDesigner)
OnDragLeave()
已过时.

当拖放操作正在进行并且指针离开设计器边界时发生。

(继承自 ActivityDesigner)
OnDragOver(ActivityDragEventArgs)
已过时.

当拖放操作正在进行并且指针位于设计器边界内时发生。

(继承自 ActivityDesigner)
OnEndResizing()
已过时.

通知 ActivityDesigner 用户何时在设计器中 FreeformActivityDesigner以视觉方式调整活动设计器的大小。

(继承自 ActivityDesigner)
OnExecuteDesignerAction(DesignerAction)
已过时.

通知 ActivityDesigner 用户单击与设计器关联的配置错误时。

(继承自 ActivityDesigner)
OnGiveFeedback(GiveFeedbackEventArgs)
已过时.

更新执行拖动操作时向用户提供的反馈的视觉提示。

(继承自 ActivityDesigner)
OnKeyDown(KeyEventArgs)
已过时.

当将键按在设计器的焦点时调用。

OnKeyUp(KeyEventArgs)
已过时.

当设计器具有键盘焦点时释放键时发生。

(继承自 ActivityDesigner)
OnLayoutPosition(ActivityDesignerLayoutEventArgs)
已过时.

对包含的视觉提示或设计器 CompositeActivityDesigner 执行布局和定位任务,以重新定位其子活动。

OnLayoutSize(ActivityDesignerLayoutEventArgs)
已过时.

调用以根据活动当前状态(折叠或展开)及其子活动列表计算活动所需的大小。

OnMouseCaptureChanged()
已过时.

鼠标捕获更改时发生。

(继承自 ActivityDesigner)
OnMouseDoubleClick(MouseEventArgs)
已过时.

在设计器上多次单击鼠标按钮时发生。

(继承自 ActivityDesigner)
OnMouseDown(MouseEventArgs)
已过时.

在指针位于设计器边界时单击鼠标时调用。

OnMouseDragBegin(Point, MouseEventArgs)
已过时.

当用户开始在设计器上拖动鼠标时发生。

(继承自 ActivityDesigner)
OnMouseDragEnd()
已过时.

当用户停止在设计器上拖动鼠标时发生。

(继承自 ActivityDesigner)
OnMouseDragMove(MouseEventArgs)
已过时.

当用户将指针拖动到设计器上时,在鼠标的每个移动上发生。

(继承自 ActivityDesigner)
OnMouseEnter(MouseEventArgs)
已过时.

当鼠标首次进入设计器边界时发生。

(继承自 ActivityDesigner)
OnMouseHover(MouseEventArgs)
已过时.

当指针位于设计器边界时发生。

(继承自 ActivityDesigner)
OnMouseLeave()
已过时.

当指针离开设计器边界时发生。

(继承自 ActivityDesigner)
OnMouseMove(MouseEventArgs)
已过时.

当指针在设计器边界中移动时发生。

(继承自 ActivityDesigner)
OnMouseUp(MouseEventArgs)
已过时.

当指针位于设计器边界时释放鼠标按钮时发生。

(继承自 ActivityDesigner)
OnPaint(ActivityDesignerPaintEventArgs)
已过时.

在设计时绘制复合活动的视觉表示形式。

OnProcessMessage(Message)
已过时.

允许设计器处理原始 Win32 消息。

(继承自 ActivityDesigner)
OnQueryContinueDrag(QueryContinueDragEventArgs)
已过时.

控制拖动操作是否应继续。

(继承自 ActivityDesigner)
OnResizing(ActivityDesignerResizeEventArgs)
已过时.

通知 ActivityDesigner 用户何时在设计时直观地调整大小。 仅当活动设计器是活动的 FreeformActivityDesigner子级时,才调用该方法。

(继承自 ActivityDesigner)
OnScroll(ScrollBar, Int32)
已过时.

通知 ActivityDesigner 用户何时更改滚动位置。

(继承自 ActivityDesigner)
OnShowSmartTagVerbs(Point)
已过时.

显示与指定点的智能标记关联的设计器谓词。

(继承自 ActivityDesigner)
OnSmartTagVisibilityChanged(Boolean)
已过时.

通知 ActivityDesigner 智能标记是应显示还是隐藏。

(继承自 ActivityDesigner)
OnThemeChange(ActivityDesignerTheme)
已过时.

通知设计器关联的主题已更改。

PaintContainedDesigners(ActivityDesignerPaintEventArgs)
已过时.

调整图形对象上的剪辑区域,并对所有包含的设计器调用 OnPaint(ActivityDesignerPaintEventArgs)

PerformLayout()
已过时.

更新设计器的布局。

(继承自 ActivityDesigner)
PointToLogical(Point)
已过时.

将点从屏幕坐标系转换为活动设计器坐标系。

(继承自 ActivityDesigner)
PointToScreen(Point)
已过时.

将活动设计器坐标系中的点转换为屏幕坐标系。

(继承自 ActivityDesigner)
PostFilterAttributes(IDictionary)
已过时.

在派生类中重写时,允许设计器从它通过 TypeDescriptor 公开的属性集中更改或删除项。

(继承自 ActivityDesigner)
PostFilterEvents(IDictionary)
已过时.

在派生类中重写时,允许设计器从它通过 TypeDescriptor 公开的事件集中更改或删除项。

(继承自 ActivityDesigner)
PostFilterProperties(IDictionary)
已过时.

在派生类中重写时,允许设计器从它通过 TypeDescriptor 公开的属性集中更改或删除项。

(继承自 ActivityDesigner)
PreFilterAttributes(IDictionary)
已过时.

在派生类中重写时,允许设计器将项添加到它通过 TypeDescriptor 公开的属性集中。

(继承自 ActivityDesigner)
PreFilterEvents(IDictionary)
已过时.

在派生类中重写时,允许设计器将项添加到它通过 TypeDescriptor 公开的事件集中。

(继承自 ActivityDesigner)
PreFilterProperties(IDictionary)
已过时.

在派生类中重写时,允许设计器将项添加到它通过 TypeDescriptor 公开的属性集中。

(继承自 ActivityDesigner)
RectangleToLogical(Rectangle)
已过时.

将矩形从屏幕坐标系转换为活动设计器坐标系。

(继承自 ActivityDesigner)
RectangleToScreen(Rectangle)
已过时.

将矩形从活动设计器坐标系转换为屏幕坐标系。

(继承自 ActivityDesigner)
RefreshDesignerActions()
已过时.

刷新与设计器关联的配置错误。

(继承自 ActivityDesigner)
RefreshDesignerVerbs()
已过时.

通过调用状态处理程序来刷新与设计器关联的活动设计器谓词。

(继承自 ActivityDesigner)
RemoveActivities(IServiceProvider, ReadOnlyCollection<Activity>, String)
已过时.

使用事务从设计器中删除活动列表。

RemoveActivities(ReadOnlyCollection<Activity>)
已过时.

从复合活动设计器中删除活动列表。

SaveViewState(BinaryWriter)
已过时.

将视图状态保存到二进制流。

SerializeActivitiesToDataObject(IServiceProvider, Activity[])
已过时.

将一组活动序列化为 IDataObject 可放置在剪贴板中的活动数组,或在初始化拖放操作时使用。

ShowInfoTip(String, String)
已过时.

显示具有指定标题和文本的信息提示 ActivityDesigner

(继承自 ActivityDesigner)
ShowInfoTip(String)
已过时.

显示指定的信息提示。

(继承自 ActivityDesigner)
ShowInPlaceTip(String, Rectangle)
已过时.

在指定的矩形位置显示指定的工具提示。

(继承自 ActivityDesigner)
ToString()
已过时.

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

(继承自 Object)

显式接口实现

名称 说明
IDesigner.Component
已过时.

获取与活动设计器关联的基组件。

(继承自 ActivityDesigner)
IDesigner.DoDefaultAction()
已过时.

执行与设计器关联的默认操作。

(继承自 ActivityDesigner)
IDesigner.Initialize(IComponent)
已过时.

使用关联的活动初始化设计器。

(继承自 ActivityDesigner)
IDesigner.Verbs
已过时.

获取与活动设计器关联的设计时谓词。

(继承自 ActivityDesigner)
IDesignerFilter.PostFilterAttributes(IDictionary)
已过时.

在派生类中重写时,允许设计器从它通过 TypeDescriptor 公开的属性集中更改或删除项。

(继承自 ActivityDesigner)
IDesignerFilter.PostFilterEvents(IDictionary)
已过时.

在派生类中重写时,允许设计器从它通过 TypeDescriptor 公开的事件集中更改或删除项。

(继承自 ActivityDesigner)
IDesignerFilter.PostFilterProperties(IDictionary)
已过时.

在派生类中重写时,允许设计器从它通过 TypeDescriptor 公开的属性集中更改或删除项。

(继承自 ActivityDesigner)
IDesignerFilter.PreFilterAttributes(IDictionary)
已过时.

在派生类中重写时,允许设计器将项添加到它通过 TypeDescriptor 公开的属性集中。

(继承自 ActivityDesigner)
IDesignerFilter.PreFilterEvents(IDictionary)
已过时.

在派生类中重写时,允许设计器将项添加到它通过 TypeDescriptor 公开的事件集中。

(继承自 ActivityDesigner)
IDesignerFilter.PreFilterProperties(IDictionary)
已过时.

在派生类中重写时,允许设计器将项添加到它通过 TypeDescriptor 公开的属性集中。

(继承自 ActivityDesigner)
IPersistUIState.LoadViewState(BinaryReader)
已过时.

从二进制流还原视图状态。

(继承自 ActivityDesigner)
IPersistUIState.SaveViewState(BinaryWriter)
已过时.

将视图状态保存到二进制流。

(继承自 ActivityDesigner)
IRootDesigner.GetView(ViewTechnology)
已过时.

返回指定视图技术的视图对象。

(继承自 ActivityDesigner)
IRootDesigner.SupportedTechnologies
已过时.

获取活动设计器可以支持其显示的技术数组。

(继承自 ActivityDesigner)
IToolboxUser.GetToolSupported(ToolboxItem)
已过时.

确定当前活动设计器是否支持指定的工具箱项。

(继承自 ActivityDesigner)
IToolboxUser.ToolPicked(ToolboxItem)
已过时.

选择指定的工具箱项。

(继承自 ActivityDesigner)
IWorkflowRootDesigner.InvokingDesigner
已过时.

获取或设置 CompositeActivityDesigner 请求初始化活动设计器的项。

(继承自 ActivityDesigner)
IWorkflowRootDesigner.IsSupportedActivityType(Type)
已过时.

返回一个值,该值指示当前 ActivityDesigner类型是否支持指定的类型。

(继承自 ActivityDesigner)
IWorkflowRootDesigner.MessageFilters
已过时.

获取与活动设计器关联的任何消息筛选器。

(继承自 ActivityDesigner)
IWorkflowRootDesigner.SupportsLayoutPersistence
已过时.

获取指示实际工作流根设计器是否支持布局持久性的值。

(继承自 ActivityDesigner)

适用于