System.ComponentModel Namespace

System.ComponentModel 命名空间提供用于实现组件和控件的运行时和设计时行为的类。 The System.ComponentModel namespace provides classes that are used to implement the run-time and design-time behavior of components and controls. 此命名空间包括用于特性和类型转换器的实现、数据源绑定和组件授权的基类和接口。 This namespace includes the base classes and interfaces for implementing attributes and type converters, binding to data sources, and licensing components.

Classes

AddingNewEventArgs

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

AmbientValueAttribute

指定要传递给属性的值,以使该属性从另一个源中获取其值。 Specifies the value to pass to a property to cause the property to get its value from another source. 这称为“环境”。 This is known as ambience. 此类不能被继承。 This class cannot be inherited.

ArrayConverter

提供将 Array 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Array objects to and from various other representations.

AsyncCompletedEventArgs

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

AsyncOperation

跟踪异步操作的生存期。 Tracks the lifetime of an asynchronous operation.

AsyncOperationManager

提供支持异步方法调用的类的并发管理。 Provides concurrency management for classes that support asynchronous method calls. 此类不能被继承。 This class cannot be inherited.

AttributeCollection

表示特性的集合。 Represents a collection of attributes.

AttributeProviderAttribute

启用特性重定向。 Enables attribute redirection. 此类不能被继承。 This class cannot be inherited.

BackgroundWorker

在单独的线程上执行操作。 Executes an operation on a separate thread.

BaseNumberConverter

提供非浮点数字类型的基类型转换器。 Provides a base type converter for nonfloating-point numerical types.

BindableAttribute

指定成员是否通常用于绑定。 Specifies whether a member is typically used for binding. 此类不能被继承。 This class cannot be inherited.

BindingList<T>

提供支持数据绑定的泛型集合。 Provides a generic collection that supports data binding.

BooleanConverter

提供将 Boolean 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Boolean objects to and from various other representations.

BrowsableAttribute

指定某一属性或事件是否应在“属性”窗口中显示。 Specifies whether a property or event should be displayed in a Properties window.

ByteConverter

提供用于在 8 位无符号整数对象与其他各种表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 8-bit unsigned integer objects to and from various other representations.

CancelEventArgs

为可取消的事件提供数据。 Provides data for a cancelable event.

CategoryAttribute

指定当属性或事件显示在一个设置为“按分类顺序”模式的 PropertyGrid 控件中时,用于对属性或事件分组的类别的名称。 Specifies the name of the category in which to group the property or event when displayed in a PropertyGrid control set to Categorized mode.

CharConverter

提供用于在 Unicode 字符对象与其他各种表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert Unicode character objects to and from various other representations.

CollectionChangeEventArgs

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

CollectionConverter

提供用于在集合对象与其他各种表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert collection objects to and from various other representations.

ComplexBindingPropertiesAttribute

指定一个组件的数据源和数据成员属性,该组件支持复杂数据绑定。 Specifies the data source and data member properties for a component that supports complex data binding. 此类不能被继承。 This class cannot be inherited.

Component

提供 IComponent 接口的基实现并启用应用程序之间的对象共享。 Provides the base implementation for the IComponent interface and enables object sharing between applications.

ComponentCollection

IComponent 对象的集合提供只读容器。 Provides a read-only container for a collection of IComponent objects.

ComponentConverter

提供将组件与各种其他表示形式相互转换的类型转换器。 Provides a type converter to convert components to and from various other representations.

ComponentEditor

提供自定义组件编辑器的基类。 Provides the base class for a custom component editor.

ComponentResourceManager

提供组件或对象的枚举资源的简单功能。 Provides simple functionality for enumerating resources for a component or object. ComponentResourceManager 类是一个 ResourceManager The ComponentResourceManager class is a ResourceManager.

Container

封装零个或更多个组件。 Encapsulates zero or more components.

ContainerFilterService

为容器筛选服务提供基类。 Provides a base class for the container filter service.

CultureInfoConverter

提供将 CultureInfo 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert CultureInfo objects to and from various other representations.

CurrentChangedEventManager

提供 WeakEventManager 实现,以便可以使用“弱事件侦听器”模式附加 CurrentChanged 事件的侦听器。 Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CurrentChanged event.

CurrentChangingEventArgs

提供 CurrentChanging 事件的有关信息。 Provides information for the CurrentChanging event.

CurrentChangingEventManager

提供 WeakEventManager 实现,以便可以使用“弱事件侦听器”模式附加 CurrentChanging 事件的侦听器。 Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CurrentChanging event.

CustomTypeDescriptor

提供 ICustomTypeDescriptor 接口的简单默认实现。 Provides a simple default implementation of the ICustomTypeDescriptor interface.

DataErrorsChangedEventArgs

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

DataObjectAttribute

将某一类型标识为适合绑定到 ObjectDataSource 对象的对象。 Identifies a type as an object suitable for binding to an ObjectDataSource object. 此类不能被继承。 This class cannot be inherited.

DataObjectFieldAttribute

为表示数据字段的属性提供元数据。 Provides metadata for a property representing a data field. 此类不能被继承。 This class cannot be inherited.

DataObjectMethodAttribute

标识由某一类型公开的数据操作方法,该方法所执行的操作类型以及该方法是否是默认的数据方法。 Identifies a data operation method exposed by a type, what type of operation the method performs, and whether the method is the default data method. 此类不能被继承。 This class cannot be inherited.

DateTimeConverter

提供将 DateTime 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert DateTime objects to and from various other representations.

DateTimeOffsetConverter

提供将 DateTimeOffset 结构与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert DateTimeOffset structures to and from various other representations.

DecimalConverter

提供将 Decimal 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Decimal objects to and from various other representations.

DefaultBindingPropertyAttribute

指定组件的默认绑定属性。 Specifies the default binding property for a component. 此类不能被继承。 This class cannot be inherited.

DefaultEventAttribute

指定组件的默认事件。 Specifies the default event for a component.

DefaultPropertyAttribute

指定组件的默认属性。 Specifies the default property for a component.

DefaultValueAttribute

指定属性的默认值。 Specifies the default value for a property.

DependencyPropertyDescriptor

提供用于说明依赖属性的其他属性特征的 PropertyDescriptor 的扩展。 Provides an extension of PropertyDescriptor that accounts for the additional property characteristics of a dependency property.

DescriptionAttribute

指定属性或事件的说明。 Specifies a description for a property or event.

DesignerAttribute

指定用于为组件实现设计时服务的类。 Specifies the class used to implement design-time services for a component.

DesignerCategoryAttribute

指定类设计器属于某一类别。 Specifies that the designer for a class belongs to a certain category.

DesignerProperties

提供用于与设计器进行通信的附加属性。 Provides attached properties used to communicate with a designer.

DesignerSerializationVisibilityAttribute

指定在设计时序列化组件上的属性时所使用的持久性类型。 Specifies the type of persistence to use when serializing a property on a component at design time.

DesignOnlyAttribute

指定某个属性是否只能在设计时设置。 Specifies whether a property can only be set at design time.

DesignTimeVisibleAttribute

DesignTimeVisibleAttribute 标记组件的可见性。 DesignTimeVisibleAttribute marks a component's visibility. 如果存在 Yes,可视化设计器即可在设计器上显示该组件。 If Yes is present, a visual designer can show this component on a designer.

DisplayNameAttribute

指定属性、事件或不采用任何参数的公共 void 方法的显示名称。 Specifies the display name for a property, event, or public void method which takes no arguments.

DoubleConverter

提供将双精度浮点数字对象与各种其他表示形式相互转换的类型转换器。 Provides a type converter to convert double-precision, floating point number objects to and from various other representations.

DoWorkEventArgs

DoWork 事件处理程序提供数据。 Provides data for the DoWork event handler.

EditorAttribute

指定用于更改属性的编辑器。 Specifies the editor to use to change a property. 此类不能被继承。 This class cannot be inherited.

EditorBrowsableAttribute

指定可在编辑器中查看的属性或方法。 Specifies that a property or method is viewable in an editor. 此类不能被继承。 This class cannot be inherited.

EnumConverter

提供将 Enum 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Enum objects to and from various other representations.

ErrorsChangedEventManager

提供 WeakEventManager 实现,以便可以使用弱事件侦听器模式附加 ErrorsChanged 事件的侦听器。 Provides a WeakEventManager implementation so that you can use the weak event listener pattern to attach listeners for the ErrorsChanged event.

EventDescriptor

提供有关事件的信息。 Provides information about an event.

EventDescriptorCollection

表示 EventDescriptor 对象集合。 Represents a collection of EventDescriptor objects.

EventHandlerList

提供一个简单的委托列表。 Provides a simple list of delegates. 此类不能被继承。 This class cannot be inherited.

ExpandableObjectConverter

提供在可扩展对象与其他各种表示形式之间实现转换的类型转换器。 Provides a type converter to convert expandable objects to and from various other representations.

ExtenderProvidedPropertyAttribute

指定由扩展程序提供程序提供的属性。 Specifies a property that is offered by an extender provider. 此类不能被继承。 This class cannot be inherited.

GroupDescription

为描述如何将集合中的项划分为组的类型提供抽象基类。 Provides an abstract base class for types that describe how to divide the items in a collection into groups.

GuidConverter

提供将 Guid 对象与其他各种表示形式相互转换的类型转换器。 Provides a type converter to convert Guid objects to and from various other representations.

HandledEventArgs

为可在事件处理程序中完整处理的事件提供数据。 Provides data for events that can be handled completely in an event handler.

ImmutableObjectAttribute

指定对象没有可以被编辑的子属性。 Specifies that an object has no subproperties capable of being edited. 此类不能被继承。 This class cannot be inherited.

InheritanceAttribute

指示是否已从基类继承与此特性关联的组件。 Indicates whether the component associated with this attribute has been inherited from a base class. 此类不能被继承。 This class cannot be inherited.

InitializationEventAttribute

指定在初始化时引发的事件。 Specifies which event is raised on initialization. 此类不能被继承。 This class cannot be inherited.

InstallerTypeAttribute

为安装组件的类型指定安装程序。 Specifies the installer for a type that installs components.

InstanceCreationEditor

PropertyGrid 中的下拉框中创建特定类型属性的实例。 Creates an instance of a particular type of property from a drop-down box within the PropertyGrid.

Int16Converter

提供用于在 16 位有符号整数对象与其他表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 16-bit signed integer objects to and from other representations.

Int32Converter

提供用于在 32 位有符号整数对象与其他表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 32-bit signed integer objects to and from other representations.

Int64Converter

提供用于在 64 位有符号整数对象与其他各种表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 64-bit signed integer objects to and from various other representations.

InvalidAsynchronousStateException

当应执行某个操作的线程不再存在或者没有消息循环时,将引发此异常。 Thrown when a thread on which an operation should execute no longer exists or has no message loop.

InvalidEnumArgumentException

使用无效参数(为枚举数)时引发的异常。 The exception thrown when using invalid arguments that are enumerators.

ItemPropertyInfo

包含有关属性的信息。 Contains information about a property.

License

为所有许可证提供 abstract 基类。 Provides the abstract base class for all licenses. 对组件的特定实例授予许可证。 A license is granted to a specific instance of a component.

LicenseContext

指定何时可使用授权的对象,并且提供一种方法,用以获取为支持在其域内运行的许可证所需要的附加服务。 Specifies when you can use a licensed object and provides a way of obtaining additional services needed to support licenses running within its domain.

LicenseException

表示当组件不能被授予许可证时引发的异常。 Represents the exception thrown when a component cannot be granted a license.

LicenseManager

提供属性和方法,用以将许可证添加到组件和管理 LicenseProvider Provides properties and methods to add a license to a component and to manage a LicenseProvider. 此类不能被继承。 This class cannot be inherited.

LicenseProvider

提供 abstract 基类以便实现许可证提供程序。 Provides the abstract base class for implementing a license provider.

LicenseProviderAttribute

指定要与类一起使用的 LicenseProvider Specifies the LicenseProvider to use with a class. 此类不能被继承。 This class cannot be inherited.

LicFileLicenseProvider

提供 LicenseProvider 的实现。 Provides an implementation of a LicenseProvider. 提供程序与 Microsoft .NET Framework 标准授权模型的工作方式相似。 The provider works in a similar fashion to the Microsoft .NET Framework standard licensing model.

ListBindableAttribute

指定列表可被用作数据源。 Specifies that a list can be used as a data source. 可视化设计器应该使用该特性来确定是否在数据绑定选择器中显示特定的列表。 A visual designer should use this attribute to determine whether to display a particular list in a data-binding picker. 此类不能被继承。 This class cannot be inherited.

ListChangedEventArgs

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

ListSortDescription

提供对应用于数据源的排序操作的说明。 Provides a description of the sort operation applied to a data source.

ListSortDescriptionCollection

表示 ListSortDescription 对象集合。 Represents a collection of ListSortDescription objects.

LocalizableAttribute

指定是否应本地化某一属性。 Specifies whether a property should be localized. 此类不能被继承。 This class cannot be inherited.

LookupBindingPropertiesAttribute

指定支持基于查找的绑定的属性。 Specifies the properties that support lookup-based binding. 此类不能被继承。 This class cannot be inherited.

MarshalByValueComponent

实现 IComponent 并提供可远程控制的组件的基实现,该组件是由值封送的(传递序列化对象的副本)。 Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).

MaskedTextProvider

表示可由支持掩码的任何数量的控件(如 MaskedTextBox 控件)使用的掩码分析服务。 Represents a mask-parsing service that can be used by any number of controls that support masking, such as the MaskedTextBox control.

MemberDescriptor

表示一个类成员,例如某个属性或事件。 Represents a class member, such as a property or event. 这是一个抽象基类。 This is an abstract base class.

MergablePropertyAttribute

指定该属性能与“属性”窗口中属于其他对象的属性组合。 Specifies that this property can be combined with properties belonging to other objects in a Properties window.

MultilineStringConverter

提供将多行字符串转换为单行字符串的类型转换器。 Provides a type converter to convert multiline strings to a simple string.

NestedContainer

提供 INestedContainer 接口的基实现,该接口使容器可以拥有一个所属组件。 Provides the base implementation for the INestedContainer interface, which enables containers to have an owning component.

NotifyParentPropertyAttribute

指示当此特性应用到的属性的值被修改时,通知父属性。 Indicates that the parent property is notified when the value of the property that this attribute is applied to is modified. 此类不能被继承。 This class cannot be inherited.

NullableConverter

提供可以为 null 的类型与其基础基元类型之间的自动转换。 Provides automatic conversion between a nullable type and its underlying primitive type.

ParenthesizePropertyNameAttribute

指示关联属性的名称在“属性”窗口中显示时是否带有括号。 Indicates whether the name of the associated property is displayed with parentheses in the Properties window. 此类不能被继承。 This class cannot be inherited.

PasswordPropertyTextAttribute

指示对象的文本表示形式被星号等字符隐匿。 Indicates that an object's text representation is obscured by characters such as asterisks. 此类不能被继承。 This class cannot be inherited.

ProgressChangedEventArgs

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

PropertyChangedEventArgs

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

PropertyChangedEventManager

提供 WeakEventManager 实现,以便可以使用“弱事件侦听器”模式附加 PropertyChanged 事件的侦听器。 Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the PropertyChanged event.

PropertyChangingEventArgs

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

PropertyDescriptor

提供类的属性的抽象。 Provides an abstraction of a property on a class.

PropertyDescriptorCollection

表示 PropertyDescriptor 对象集合。 Represents a collection of PropertyDescriptor objects.

PropertyFilterAttribute

指定哪些属性应由类型描述符报告,尤其是 GetProperties(Object) 方法。 Specifies which properties should be reported by type descriptors, specifically the GetProperties(Object) method.

PropertyTabAttribute

标识要为指定的类显示的属性选项卡。 Identifies the property tab or tabs to display for the specified class or classes.

ProvidePropertyAttribute

指定 IExtenderProvider 的实施者提供给其他组件的属性的名称。 Specifies the name of the property that an implementer of IExtenderProvider offers to other components. 无法继承此类 This class cannot be inherited

ReadOnlyAttribute

指定该特性所绑定到的属性是只读属性还是读/写属性。 Specifies whether the property this attribute is bound to is read-only or read/write. 无法继承此类 This class cannot be inherited

RecommendedAsConfigurableAttribute

指定该属性可以用作应用程序设置。 Specifies that the property can be used as an application setting.

ReferenceConverter

提供将对象引用与其他表示形式相互转换的类型转换器。 Provides a type converter to convert object references to and from other representations.

RefreshEventArgs

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

RefreshPropertiesAttribute

指示关联的属性值更改时应刷新属性网格。 Indicates that the property grid should refresh when the associated property value changes. 此类不能被继承。 This class cannot be inherited.

RunInstallerAttribute

指定在安装程序集时是否应调用 Visual Studio 自定义操作安装程序或 Installutil.exe (安装程序工具) Specifies whether the Visual Studio Custom Action Installer or the Installutil.exe (Installer Tool) should be invoked when the assembly is installed.

RunWorkerCompletedEventArgs

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

SByteConverter

提供用于在 8 位无符号整数对象与字符串之间实现相互转换的类型转换器。 Provides a type converter to convert 8-bit unsigned integer objects to and from a string.

SettingsBindableAttribute

指定何时可将组件属性绑定到应用程序设置。 Specifies when a component property can be bound to an application setting.

SingleConverter

提供将单精度浮点数字对象与各种其他表示形式相互转换的类型转换器。 Provides a type converter to convert single-precision, floating point number objects to and from various other representations.

SortDescriptionCollection

表示 SortDescription 对象的集合。 Represents a collection of SortDescription objects.

StringConverter

提供用于在字符串对象与其他表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert string objects to and from other representations.

SyntaxCheck

提供方法来验证计算机名称和路径是否符合特定语法。 Provides methods to verify the machine name and path conform to a specific syntax. 此类不能被继承。 This class cannot be inherited.

TimeSpanConverter

提供将 TimeSpan 对象与其他表示形式相互转换的类型转换器。 Provides a type converter to convert TimeSpan objects to and from other representations.

ToolboxItemAttribute

表示工具箱项的特性。 Represents an attribute of a toolbox item.

ToolboxItemFilterAttribute

为工具箱项指定要使用的筛选器字符串和筛选器类型。 Specifies the filter string and filter type to use for a toolbox item.

TypeConverter

提供一种将值的类型转换为其他类型以及访问标准值和子属性的统一方法。 Provides a unified way of converting types of values to other types, as well as for accessing standard values and subproperties.

TypeConverter.SimplePropertyDescriptor

表示一个 abstract 类,该类为没有属性的对象提供属性。 Represents an abstract class that provides properties for objects that do not have properties.

TypeConverter.StandardValuesCollection

表示值的集合。 Represents a collection of values.

TypeConverterAttribute

指定对于此属性绑定到的对象要使用哪种类型作为转换器。 Specifies what type to use as a converter for the object this attribute is bound to.

TypeDescriptionProvider

TypeDescriptor 提供补充元数据。 Provides supplemental metadata to the TypeDescriptor.

TypeDescriptionProviderAttribute

指定类的自定义类型说明提供程序。 Specifies the custom type description provider for a class. 此类不能被继承。 This class cannot be inherited.

TypeDescriptor

提供有关组件特征的信息,如组件的特性、属性和事件。 Provides information about the characteristics for a component, such as its attributes, properties, and events. 此类不能被继承。 This class cannot be inherited.

TypeListConverter

提供可用于在列表框中填充可用类型的类型转换器。 Provides a type converter that can be used to populate a list box with available types.

UInt16Converter

提供用于在 16 位无符号整数对象与其他表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 16-bit unsigned integer objects to and from other representations.

UInt32Converter

提供用于在 32 位无符号整数对象与其他各种表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 32-bit unsigned integer objects to and from various other representations.

UInt64Converter

提供用于在 64 位无符号整数对象与其他表示形式之间实现相互转换的类型转换器。 Provides a type converter to convert 64-bit unsigned integer objects to and from other representations.

WarningException

指定按警告(而不是错误)处理的异常。 Specifies an exception that is handled as a warning instead of an error.

Win32Exception

引发 Win32 错误代码异常。 Throws an exception for a Win32 error code.

Structs

SortDescription

定义要用作集合的排序条件的方向和属性名。 Defines the direction and the property name to be used as the criteria for sorting a collection.

Interfaces

IBindingList

提供在绑定到数据源时支持复杂方案和简单方案所需的功能。 Provides the features required to support both complex and simple scenarios when binding to a data source.

IBindingListView

通过提供高级排序和筛选功能来扩展 IBindingList 接口。 Extends the IBindingList interface by providing advanced sorting and filtering capabilities.

ICancelAddNew

在向集合添加新项时添加事务性功能。 Adds transactional capability when adding a new item to a collection.

IChangeTracking

定义用于查询对象的更改和重置已更改状态的机制。 Defines the mechanism for querying the object for changes and resetting of the changed status.

ICollectionView

使集合具有当前记录管理、自定义排序、筛选和分组功能。 Enables collections to have the functionalities of current record management, custom sorting, filtering, and grouping.

ICollectionViewFactory

可以实现集合以创建其数据的视图的接口。 An interface that enables implementing collections to create a view to their data. 正常情况下,用户代码不在此接口上调用方法。 Normally, user code does not call methods on this interface.

ICollectionViewLiveShaping

定义能够使 CollectionView 排序,分组和筛选的属性。 Defines properties that enables sorting, grouping, and filtering on a CollectionView in real time.

IComNativeDescriptorHandler

提供 COM 对象和 TypeDescriptor 之间的顶级映射层。 Provides a top-level mapping layer between a COM object and a TypeDescriptor.

IComponent

提供全部组件所需的功能。 Provides functionality required by all components.

IContainer

提供容器的功能。 Provides functionality for containers. 容器是在逻辑上包含零个或多个组件的对象。 Containers are objects that logically contain zero or more components.

ICustomTypeDescriptor

提供为对象提供动态自定义类型信息的接口。 Provides an interface that supplies dynamic custom type information for an object.

IDataErrorInfo

提供功能,该功能提供用户界面可以绑定的自定义错误信息。 Provides the functionality to offer custom error information that a user interface can bind to.

IEditableCollectionView

定义 CollectionView 所实现的方法和属性,用于向集合提供编辑功能。 Defines methods and properties that a CollectionView implements to provide editing capabilities to a collection.

IEditableCollectionViewAddNewItem

定义 CollectionView 所实现的方法和属性,它们可用于指定添加特定类型的项。 Defines methods and properties that a CollectionView implements to enable specifying adding items of a specific type.

IEditableObject

提供提交或回滚对用作数据源的对象所做更改的功能。 Provides functionality to commit or rollback changes to an object that is used as a data source.

IExtenderProvider

定义将属性扩展到容器中的其他组件的接口。 Defines the interface for extending properties to other components in a container.

IIntellisenseBuilder

提供便于检索生成器的名称并显示该生成器的界面。 Provides an interface to facilitate the retrieval of the builder's name and to display the builder.

IItemProperties

定义一个提供对象属性相关信息的属性。 Defines a property that provides information about an object's properties.

IListSource

向对象提供返回可以绑定到数据源列表的功能。 Provides functionality to an object to return a list that can be bound to a data source.

INestedContainer

提供嵌套容器的功能,嵌套容器逻辑上可包含零个或多个其他组件,且这类容器由父组件拥有。 Provides functionality for nested containers, which logically contain zero or more other components and are owned by a parent component.

INestedSite

提供检索组件的完全嵌套名称的能力。 Provides the ability to retrieve the full nested name of a component.

INotifyDataErrorInfo

定义数据实体类可实现以提供自定义同步和异步验证支持的成员。 Defines members that data entity classes can implement to provide custom synchronous and asynchronous validation support.

INotifyPropertyChanged

通知客户端属性值已更改。 Notifies clients that a property value has changed.

INotifyPropertyChanging

通知客户端属性值正在更改。 Notifies clients that a property value is changing.

IRaiseItemChangedEvents

指示类是否将属性更改事件转换为 ListChanged 事件。 Indicates whether a class converts property change events to ListChanged events.

IRevertibleChangeTracking

提供对回滚更改的支持 Provides support for rolling back the changes

ISite

提供站点所需的功能。 Provides functionality required by sites.

ISupportInitialize

指定该对象支持对批初始化的简单的事务处理通知。 Specifies that this object supports a simple, transacted notification for batch initialization.

ISupportInitializeNotification

允许协调组件及其依赖属性的初始化。 Allows coordination of initialization for a component and its dependent properties.

ISynchronizeInvoke

提供同步或异步执行委托的方法。 Provides a way to synchronously or asynchronously execute a delegate.

ITypeDescriptorContext

提供有关组件的上下文信息,如其容器和属性描述符。 Provides contextual information about a component, such as its container and property descriptor.

ITypedList

提供发现可绑定列表架构的功能,其中可用于绑定的属性不同于要绑定到的对象的公共属性。 Provides functionality to discover the schema for a bindable list, where the properties available for binding differ from the public properties of the object to bind to.

Enums

BindableSupport

指定值来表示是否可以将属性绑定到数据元素或另一个属性。 Specifies values to indicate whether a property can be bound to a data element or another property.

BindingDirection

指定模板是否可以用一种方式或两种方式绑定。 Specifies whether the template can be bound one way or two ways.

CollectionChangeAction

指定如何更改集合。 Specifies how the collection is changed.

DataObjectMethodType

根据应用于某方法的 DataObjectMethodAttribute 的指定,标识该方法所执行的数据操作类型。 Identifies the type of data operation performed by a method, as specified by the DataObjectMethodAttribute applied to the method.

DesignerSerializationVisibility

指定属性对设计时序列化程序所具有的可见性。 Specifies the visibility a property has to the design-time serializer.

EditorBrowsableState

从编辑器内指定属性或方法的可浏览状态。 Specifies the browsable state of a property or method from within an editor.

InheritanceLevel

定义继承级别类型的标识符。 Defines identifiers for types of inheritance levels.

LicenseUsageMode

指定何时可以使用 License Specifies when the License can be used.

ListChangedType

指定列表的更改方式。 Specifies how the list changed.

ListSortDirection

指定排序操作的方向。 Specifies the direction of a sort operation.

MaskedTextResultHint

指定简洁描述掩码文本分析操作结果的值。 Specifies values that succinctly describe the results of a masked text parsing operation.

NewItemPlaceholderPosition

指定新项的占位符在集合中的显示的位置。 Specifies where the placeholder for a new item appears in the collection.

PropertyFilterOptions

指定哪些属性应由类型描述符报告,尤其是 GetProperties(Object) 方法。 Specifies which properties should be reported by type descriptors, specifically the GetProperties(Object) method. 此枚举用于指定 Filter 属性的值。 This enumeration is used to specify the value of the Filter property.

PropertyTabScope

定义指示“属性”窗口中选项卡的持续范围的标识符。 Defines identifiers that indicate the persistence scope of a tab in the Properties window.

RefreshProperties

定义指示“属性”窗口刷新类型的标识符。 Defines identifiers that indicate the type of a refresh of the Properties window.

ToolboxItemFilterType

定义用于指示 ToolboxItemFilterAttribute 使用的筛选器类型的标识符。 Defines identifiers used to indicate the type of filter that a ToolboxItemFilterAttribute uses.

Delegates

AddingNewEventHandler

表示用来处理 AddingNew 事件的方法。 Represents the method that will handle the AddingNew event.

AsyncCompletedEventHandler

表示将处理异步操作的 MethodNameCompleted 事件的方法。 Represents the method that will handle the MethodNameCompleted event of an asynchronous operation.

CancelEventHandler

表示处理可取消事件的方法。 Represents the method that handles a cancelable event.

CollectionChangeEventHandler

表示处理将元素添加到集合中或从集合中移除元素时引发的 CollectionChanged 事件的方法。 Represents the method that handles the CollectionChanged event raised when adding elements to or removing elements from a collection.

CurrentChangingEventHandler

表示 CurrentChanging 事件的处理方法。 Represents the method that handles the CurrentChanging event.

DoWorkEventHandler

表示用来处理 DoWork 事件的方法。 Represents the method that will handle the DoWork event. 此类不能被继承。 This class cannot be inherited.

HandledEventHandler

表示可以处理事件的方法,这些事件在事件处理程序返回后可能需要或不需要进行进一步处理。 Represents a method that can handle events which may or may not require further processing after the event handler has returned.

ListChangedEventHandler

表示将处理 IBindingList 类的 ListChanged 事件的方法。 Represents the method that will handle the ListChanged event of the IBindingList class.

ProgressChangedEventHandler

表示将处理 BackgroundWorker 类的 ProgressChanged 事件的方法。 Represents the method that will handle the ProgressChanged event of the BackgroundWorker class. 此类不能被继承。 This class cannot be inherited.

PropertyChangedEventHandler

表示将处理 PropertyChanged 事件的方法,该事件在更改组件上的属性时引发。 Represents the method that will handle the PropertyChanged event raised when a property is changed on a component.

PropertyChangingEventHandler

表示将对 PropertyChanging 接口的 INotifyPropertyChanging 事件进行处理的方法。 Represents the method that will handle the PropertyChanging event of an INotifyPropertyChanging interface.

RefreshEventHandler

表示处理当 Refreshed 或组件在设计时被更改时引发的 Type 事件的方法。 Represents the method that handles the Refreshed event raised when a Type or component is changed during design time.

RunWorkerCompletedEventHandler

表示将处理 RunWorkerCompleted 类的 BackgroundWorker 事件的方法。 Represents the method that will handle the RunWorkerCompleted event of a BackgroundWorker class.

Remarks

此命名空间中的类将划分为以下类别:The classes in this namespace divide into the following categories: