ActivityToolboxItem 类

定义

注意

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

为与工作流设计器中的活动关联的所有工具箱项提供基类。

public ref class ActivityToolboxItem : System::Drawing::Design::ToolboxItem
[System.Serializable]
public class ActivityToolboxItem : System.Drawing.Design.ToolboxItem
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityToolboxItem : System.Drawing.Design.ToolboxItem
[<System.Serializable>]
type ActivityToolboxItem = class
    inherit ToolboxItem
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityToolboxItem = class
    inherit ToolboxItem
Public Class ActivityToolboxItem
Inherits ToolboxItem
继承
ActivityToolboxItem
属性

注解

注释

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

Activity 类关联的所有工具箱项都派生自 ActivityToolboxItem。 此类在设计时环境的工具箱中显示类的图形表示形式 Activity ,并在用户将其拖到设计图面时创建与其关联的类的实例 Activity 。 活动工具箱项通常表示在设计模式文档上调用时要创建的活动。

此类直接从 ToolboxItem 类继承。

构造函数

名称 说明
ActivityToolboxItem()
已过时.

初始化 ActivityToolboxItem 类的新实例。

ActivityToolboxItem(SerializationInfo, StreamingContext)
已过时.

ActivityToolboxItem使用指定的SerializationInfoStreamingContext.

ActivityToolboxItem(Type)
已过时.

初始化类的新实例,该实例 ActivityToolboxItem 创建指定的组件类型 Activity

属性

名称 说明
AssemblyName
已过时.

获取或设置包含工具箱项创建的类型或类型的程序集的名称。

(继承自 ToolboxItem)
Bitmap
已过时.

获取或设置一个位图以表示工具箱中的工具箱项。

(继承自 ToolboxItem)
Company
已过时.

获取或设置此 ToolboxItem名称的公司名称。

(继承自 ToolboxItem)
ComponentType
已过时.

获取此 ToolboxItem组件的组件类型。

(继承自 ToolboxItem)
DependentAssemblies
已过时.

获取或设置 AssemblyName 工具箱项。

(继承自 ToolboxItem)
Description
已过时.

获取或设置此 ToolboxItem说明。

(继承自 ToolboxItem)
DisplayName
已过时.

获取或设置工具箱项的显示名称。

(继承自 ToolboxItem)
Filter
已过时.

获取或设置筛选器,该筛选器确定工具箱项是否可用于目标组件。

(继承自 ToolboxItem)
IsTransient
已过时.

获取一个值,该值指示工具箱项是否为暂时性项。

(继承自 ToolboxItem)
Locked
已过时.

获取一个值,该值指示当前是否已 ToolboxItem 锁定。

(继承自 ToolboxItem)
OriginalBitmap
已过时.

获取或设置将在此项的工具箱中使用的原始位图。

(继承自 ToolboxItem)
Properties
已过时.

获取属性的字典。

(继承自 ToolboxItem)
TypeName
已过时.

获取或设置工具箱项在调用时创建的类型的 IComponent 完全限定名称。

(继承自 ToolboxItem)
Version
已过时.

获取此 ToolboxItem版本。

(继承自 ToolboxItem)

方法

名称 说明
CheckUnlocked()
已过时.

如果工具箱项当前处于锁定状态,则引发异常。

(继承自 ToolboxItem)
CreateComponents()
已过时.

创建工具箱项配置为创建的组件。

(继承自 ToolboxItem)
CreateComponents(IDesignerHost, IDictionary)
已过时.

使用指定的设计器主机和默认值创建工具箱项配置为创建的组件。

(继承自 ToolboxItem)
CreateComponents(IDesignerHost)
已过时.

使用指定的设计器主机创建工具箱项配置为创建的组件。

(继承自 ToolboxItem)
CreateComponentsCore(IDesignerHost, IDictionary)
已过时.

调用工具箱项时,创建组件数组。

(继承自 ToolboxItem)
CreateComponentsCore(IDesignerHost)
已过时.

调用工具箱项时, Activity 创建组件或组件数组 Activity

CreateComponentsWithUI(IDesignerHost)
已过时.

创建在 Activity 调用工具箱项时在设计图面上生成对话框的组件或组件数组 Activity

Deserialize(SerializationInfo, StreamingContext)
已过时.

从指定的序列化信息对象加载工具箱项的状态。

(继承自 ToolboxItem)
Equals(Object)
已过时.

确定两个 ToolboxItem 实例是否相等。

(继承自 ToolboxItem)
FilterPropertyValue(String, Object)
已过时.

在返回之前筛选属性值。

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

返回此实例的哈希代码。

(继承自 ToolboxItem)
GetToolboxDisplayName(Type)
已过时.

获取工具箱中工具箱项的关联显示名称。

GetToolboxImage(Type)
已过时.

获取用于表示工具箱中的工具箱项的关联图像。

GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
GetType(IDesignerHost, AssemblyName, String, Boolean)
已过时.

使用指定的设计器主机和程序集名称(可选)创建指定类型的实例。

(继承自 ToolboxItem)
GetType(IDesignerHost)
已过时.

允许访问与工具箱项关联的类型。

(继承自 ToolboxItem)
Initialize(Type)
已过时.

使用要创建的指定类型初始化当前工具箱项。

(继承自 ToolboxItem)
Lock()
已过时.

锁定工具箱项并阻止更改其属性。

(继承自 ToolboxItem)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnComponentsCreated(ToolboxComponentsCreatedEventArgs)
已过时.

引发 ComponentsCreated 事件。

(继承自 ToolboxItem)
OnComponentsCreating(ToolboxComponentsCreatingEventArgs)
已过时.

引发 ComponentsCreating 事件。

(继承自 ToolboxItem)
Serialize(SerializationInfo, StreamingContext)
已过时.

将工具箱项的状态保存到指定的序列化信息对象。

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

返回一个 String 表示当前 ToolboxItem类型的值。

(继承自 ToolboxItem)
ValidatePropertyType(String, Object, Type, Boolean)
已过时.

验证对象是否为给定类型。

(继承自 ToolboxItem)
ValidatePropertyValue(String, Object)
已过时.

在将属性分配给属性字典之前验证该属性。

(继承自 ToolboxItem)

活动

名称 说明
ComponentsCreated
已过时.

创建组件后立即发生。

(继承自 ToolboxItem)
ComponentsCreating
已过时.

在即将创建组件时发生。

(继承自 ToolboxItem)

显式接口实现

名称 说明
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
已过时.

有关此成员的说明,请参阅 GetObjectData(SerializationInfo, StreamingContext) 方法。

(继承自 ToolboxItem)

适用于