System.Activities.Presentation 命名空间

提供类,与表示相关。 Provides classes related to presentation.

ActivityDesigner

为所有活动设计器组件提供基类。Provides a base class for all activity designer components.

ActivityDesignerOptionsAttribute

指定 ActivityDesigner(例如用于构成活动的流程图)的深化和节点查看模式。Specifies drill-down and node viewing mode for an ActivityDesigner, such as Flowcharts, that are used to compose activities.

ArgumentAccessor

用于访问活动实例的、包含一获取/设置委托对的类。A class containing a get/set delegate pair to access an argument in an activity instance.

CachedResourceDictionaryExtension

提供一个缓存的字典,该字典将资源字典与其 URI 相关联。Provides a cached dictionary that associates resource dictionaries with their URIs.

ClipboardData

表示使用剪贴板传递的数据。Represents the data passed around with the clipboard.

ContextItem

表示一个必须从中派生所有上下文项的基类。Represents a base class from which all context items must derive. 该类为抽象类。This class is abstract.

ContextItemManager

表示一个类,该类维护一组发布到设计器编辑上下文中的上下文项。Represents a class that maintains a set of context items published into the designer editing context. 此类为抽象类。This class is abstract.

CutCopyPasteHelper

提供剪切、复制和粘贴项的功能。Provides functions to cut, copy, and paste items.

DefaultTypeArgumentAttribute

指定泛型类型活动的默认类型。Specifies the default type for a generic type activity.

DesignerConfigurationService

提供工作流设计器的配置选项。Provides configuration options for the workflow designer.

DragDropHelper

表示协助在 Windows 工作流设计器内进行拖放的助手类。Represents a helper class to assist dragging and dropping inside the Windows Workflow Designer.

DynamicArgumentDesignerOptions

提供动态参数设计器的选项。Provides options for the dynamic argument designer.

DynamicArgumentDialog

表示动态自变量元素的对话框。Represents a dialog box for a dynamic argument element.

EditingContext

包含设计器(例如 WorkflowDesigner)的上下文状态信息。Contains contextual state information for a designer, such as the WorkflowDesigner. 此信息包括永久状态信息,例如设计器中运行的服务的列表。This includes permanent state information, such as the list of services running in the designer. 它还包括由上下文项组成的暂时状态,其中包括当前选定的对象集,以及正用于在设计图面上操作对象的编辑工具。It also includes transient state consisting of context items including the set of currently selected objects as well as the editing tool being used to manipulate objects on the design surface.

ObjectReferenceService

Visual Studio 接口集成用于该接口捕获对象的 AppDomain 序列化友好引用。This interface is used by Visual Studio integration to acquire an AppDomain serialization friendly reference to an object.

ServiceManager

实现 IServiceProvider,并提供对编辑上下文所提供服务的访问。Implements IServiceProvider and provides access to services offered by the editing context.

SourceLocationUpdatedEventArgs

为 SourceLocationUpdated 事件提供数据。Provides data for the SourceLocationUpdated event.

TypeResolvingOptionsAttribute

用于配置 Windows 工作流设计器如何初始化类型解析器和类型浏览器对话框,以便使用户能够为自变量、变量和泛型类型活动选择类型。Used to configure how a Windows Workflow Designer initializes type-resolver and type-browser dialogs to enable a user to select a type for arguments, variables, and generic type activities.

UndoEngine

为设计器提供撤消和重复操作实现。Provides undo and redo operation implementations for designers.

UndoUnit

表示单个可撤消工作单元。Represents a single unit of undoable work. 此类单元将添加到撤消堆栈,并将提供方法来遍历堆栈并对每个单元执行撤消操作。Such a unit is added to an undo stack, and methods are provided to traverse the stack and perform an undo action on each unit.

UndoUnitEventArgs

表示传递到 UndoUnitAdded 事件的参数。Represents the argument that is passed to the UndoUnitAdded event.

WorkflowDesigner

提供设计器画布,该设计器画布呈现工作流模型正在设计时的可视表示形式。Provides a designer canvas, which renders the visual representation of a workflow model as it is being designed.

WorkflowDesignerColors

使颜色和颜色渐变能够与 Windows 工作流设计器用户界面中所使用的元素和外壳条形图的各个方面关联。Enables colors and color gradients to be associated with aspects of the elements and shell bars used in the Windows Workflow Designer user interface.

WorkflowDesignerIcons

表示工作流设计器图标。Represents the workflow designer icons.

WorkflowDesignerIcons.Activities

表示工作流中活动的设计器图标。Represents the designer icons for the activities in workflow.

WorkflowDesignerIcons.ContextMenuItems

提供上下文菜单中的项。Provides the items within the context menu.

WorkflowDesignerIcons.DesignerItems

工作在工作流设计器中时,提供可用的项。Provides the items available when working with the workflow designer.

WorkflowElementDialog

表示工作流元素的对话框。Represents a dialog box for the workflow element.

WorkflowFileItem

表示一个 ContextItem,它发布在编辑上下文中,并提供有关当前编辑会话所基于的文件的信息。Represents a ContextItem that is published in the editing context and that provides information about the file that the current editing session is based on. 请注意,WorkflowFileItem 值可能为 null,例如,如果 WorkflowDesigner 直接对对象实例进行操作,并且未序列化为基于文件的格式,则会出现此情况。Note that it is possible that the WorkflowFileItem value is null, for instance if a WorkflowDesigner operates directly on an object instance and does not serialize into a file-based format.

WorkflowItemPresenter

提供一个可视化的编辑器来编辑 ModelItem 对象,并为用户提供一个区域来拖放和以其他方式编辑组合元素。Provides a visual editor to edit ModelItem objects, and provides an area for the user to drag and drop, and otherwise edit composed elements.

WorkflowItemsPresenter

表示一个控件,该控件可用于在设计图面上呈现对象的集合。Represents a control that can be used to present a collection of objects on a design surface.

WorkflowViewElement

指定任意 UI 元素的基类,该元素显示在 Windows Workflow Foundation 设计器画布上,并以可视方式表示可编辑的原子项的实例。Specifies the base class for any UI element that appears on the Windows Workflow Foundation designer canvas and that visually represents an instance of an atomic item that can be edited.

XamlLoadErrorInfo

包含有关 XAML 读取器在加载 XML 文件时所生成错误的信息,其中包括文件名以及文件中发生错误的位置。Contains information about the error generated by the XAML Reader when loading an XML file, including the name of the file and the location in the file where the error occurred.

接口

IActivityTemplateFactory

定义工厂方法,类实现该方法来创建封装“占位符”Activity 对象的模板。Defines the factory method that a class implements to create a template that encapsulates "placeholder" Activity objects.

IActivityTemplateFactory<T>

表示泛型的 IActivityTemplateFactory。Represents the generic IActivityTemplateFactory.

IActivityToolboxService

表示用于从设计器中更新工具箱内容的服务。Represents a service used to update Toolbox contents from a Designer.

ICompositeView

提供复制、剪切、移动、删除和粘贴对象的方法。Provides methods to copy, cut, move, delete, and paste objects.

ICompositeViewEvents

处理在 ICompositeView 项的显示过程中可能发生的事件。Handles events that can occur during the display of ICompositeView items.

IIntegratedHelpService

针对提供的帮助,定义 Visual Studio 2010 和 Windows 工作流设计器之间的协定。Defines the contract between Visual Studio 2010 and the Windows Workflow Designer for integrated help provided.

IModalService

用于通知宿主应用程序显示了模式对话框。Enables notification to a host application that a modal dialog is displayed.

IMultipleDragEnabledCompositeView

ICompositeView 的一个扩展接口以更好地支持多拖/放。An extension interface for ICompositeView to better support multiple drag/drop.

IWorkflowDesignerStorageService

提供 Windows 工作流设计器主机可用于存储和检索数据的服务。Provides a service available to the Windows Workflow Designer host to store and retrieve data.

IXamlLoadErrorService

定义 Visual Studio 主机如何显示 XAML 读取器在加载 XAML 文件时所生成错误的列表。Defines how the Visual Studio host displays the list of errors generated by the XAML reader when loading the XAML file.

委托

PublishServiceCallback

一个委托,该委托引用发布服务实例的方法。A delegate that references a method that publishes an instance of a service.

PublishServiceCallback<TServiceType>

一个泛型委托,该委托引用发布服务实例的方法。A generic delegate that references a method that publishes an instance of a service.

SubscribeContextCallback

定义一个将在更改上下文项时调用的回调方法。Defines a callback method that will be invoked when a context item changes.

SubscribeContextCallback<TContextItemType>

定义一个将在更改上下文项时调用的回调方法。Defines a callback method that will be invoked when a context item changes.

SubscribeServiceCallback

表示作为服务订阅的回调的委托。Represents a delegate that is a callback for service subscriptions.

SubscribeServiceCallback<TServiceType>

表示作为服务订阅的回调的泛型委托。Represents a generic delegate that is a callback for service subscriptions.