The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
System.ComponentModel Namespace
.NET Framework 1.1
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.
The classes in this namespace divide into the following categories:
- Core component classes. See the Component, IComponent, Container, and IContainer classes.
- Component licensing. See the License, LicenseManager, LicenseProvider, and LicenseProviderAttribute classes.
- Attributes. See the Attribute class.
- Descriptors and persistence. See the TypeDescriptor, EventDescriptor, and PropertyDescriptor classes.
- Type converters. See the TypeConverter class.
Classes
| Class | Description |
|---|---|
| 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 | Provides a type converter to convert Array objects to and from various other representations. |
| AttributeCollection | Represents a collection of attributes. |
| BaseNumberConverter | Provides a base type converter for nonfloating point numerical types. |
| BindableAttribute | Specifies whether a property is typically used for binding. |
| BooleanConverter | 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 | 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 | Specifies the name of the category in which to group the property or event when displayed in a System.Windows.Forms.PropertyGrid control set to Categorized mode. |
| CharConverter | Provides a type converter to convert Unicode character objects to and from various other representations. |
| CollectionChangeEventArgs | Provides data for the CollectionChanged event. |
| CollectionConverter | Provides a type converter to convert collection objects to and from various other representations. |
| Component | Provides the base implementation for the IComponent interface and enables object-sharing between applications. |
| ComponentCollection | 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 | The ComponentResourceManager class is a ResourceManager object that provides simple functionality for enumerating resources for a component or object. |
| Container | Encapsulates zero or more components. |
| CultureInfoConverter | Provides a type converter to convert CultureInfo objects to and from various other representations. |
| DateTimeConverter | Provides a type converter to convert DateTime objects to and from various other representations. |
| DecimalConverter | Provides a type converter to convert Decimal objects to and from various other representations. |
| DefaultEventAttribute | Specifies the default event for a component. |
| DefaultPropertyAttribute | Specifies the default property for a component. |
| DefaultValueAttribute | Specifies the default value for a 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. |
| 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 marks a component's visibility. If DesignTimeVisibleAttribute.Yes is present, a visual designer can show this component on a designer. |
| DoubleConverter | Provides a type converter to convert double-precision, floating point number objects to and from various other representations. |
| 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 | Provides a type converter to convert Enum objects to and from various other representations. |
| EventDescriptor | Provides information about an event. |
| EventDescriptorCollection | 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. |
| GuidConverter | Provides a type converter to convert Guid objects to and from various other representations. |
| ImmutableObjectAttribute | Specifies that an object has no subproperties capable of being edited. |
| InheritanceAttribute | Indicates whether the component associated with this attribute has been inherited from a base class. This class cannot be inherited. |
| InstallerTypeAttribute | Specifies the installer for a type that installs components. |
| Int16Converter | Provides a type converter to convert 16-bit signed integer objects to and from other representations. |
| Int32Converter | Provides a type converter to convert 32-bit signed integer objects to and from other representations. |
| Int64Converter | Provides a type converter to convert 64-bit signed integer objects to and from various other representations. |
| InvalidEnumArgumentException | The exception thrown when using invalid arguments that are enumerators. |
| License | Provides the abstract (MustInherit in Visual Basic) 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 | Provides properties and methods to add a license to a component and to manage a LicenseProvider. This class cannot be inherited. |
| LicenseProvider | Provides the abstract (MustInherit in Visual Basic) base class for implementing a license provider. |
| LicenseProviderAttribute | Specifies the LicenseProvider to use with a class. |
| LicFileLicenseProvider | Provides an implementation of a LicenseProvider. The provider works in a similar fashion to the Microsoft .NET Framework standard licensing module. |
| 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 | Provides data for the ListChanged event. |
| LocalizableAttribute | Specifies whether a property should be localized. |
| MarshalByValueComponent | Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed). |
| MemberDescriptor | An abstract base class that represents a class member, such as a property, or event. |
| MergablePropertyAttribute | Specifies that this property can be combined with properties belonging to other objects in a Properties window. |
| 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. |
| ParenthesizePropertyNameAttribute | Indicates whether the name of the associated property is displayed with parentheses in the Properties window. This class cannot be inherited. |
| PropertyChangedEventArgs | Provides data for the PropertyChanged event. |
| PropertyDescriptor | Provides an abstraction of a property on a class. |
| PropertyDescriptorCollection | Represents a collection of PropertyDescriptor objects. |
| PropertyTabAttribute | Identifies the property tab or tabs to display for the specified class or classes. |
| ProvidePropertyAttribute | Specifies the name of the property that an implementor of IExtenderProvider offers to other components. |
| ReadOnlyAttribute | Specifies whether the property this attribute is bound to is read-only or read/write at design time. |
| 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 | Provides data for the Refreshed event. |
| RefreshPropertiesAttribute | Indicates how a designer refreshes when the associated property value changes. This class cannot be inherited. |
| RunInstallerAttribute | Specifies whether the Visual Studio .NET Custom Action Installer or the Installer Tool (Installutil.exe) should be invoked when the assembly is installed. |
| SByteConverter | Provides a type converter to convert 8-bit unsigned integer objects to and from a string. |
| SingleConverter | Provides a type converter to convert single-precision, floating point number objects to and from various other representations. |
| StringConverter | Provides a type converter to convert string objects to and from other representations. |
| TimeSpanConverter | 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 | Represents an abstract (MustInherit in Visual Basic) 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. This class cannot be inherited. |
| TypeDescriptor | Provides information about the properties and events for a component. This class cannot be inherited. |
| TypeListConverter | Provides a type converter that can be used to populate a list box with available types. |
| UInt16Converter | Provides a type converter to convert 16-bit unsigned integer objects to and from other representations. |
| UInt32Converter | Provides a type converter to convert 32-bit unsigned integer objects to and from various other representations. |
| UInt64Converter | 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 | The exception that is thrown for a Win32 error code. |
Interfaces
| Interface | Description |
|---|---|
| IBindingList | Provides the features required to support both complex and simple scenarios when binding to a data source. |
| IComponent | Provides functionality required by all components. Component is the default implementation of IComponent and serves as the base class for all components in the common language runtime. |
| IContainer | Provides functionality for containers. Containers are objects that logically contain zero or more components. |
| ICustomTypeDescriptor | Provides an interface that supplies custom type information for an object. |
| IDataErrorInfo | Provides the functionality to offer custom error information that a user interface can bind to. |
| 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. |
| IListSource | Provides functionality to an object to return a list that can be bound to a data source. |
| ISite | Provides functionality required by sites. |
| ISupportInitialize | Specifies that this object supports a simple, transacted notification for batch initialization. |
| ISynchronizeInvoke | Provides a way to synchronously or asynchronously execute a delegate. |
| ITypeDescriptorContext | Provides information about the context information of a component, for example, the container that it is in and its PropertyDescriptor. The primary use of this interface is in type conversion. |
| 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. For instance, using a DataView object that represents a customer table, you want to bind to the properties on the customer object that the DataView represents, not the properties of the DataView. |
Delegates
| Delegate | Description |
|---|---|
| CancelEventHandler | Represents the method that handles a cancellable event. |
| CollectionChangeEventHandler | Represents the method that handles the CollectionChanged event raised when adding elements to or removing elements from a collection. |
| ListChangedEventHandler | Represents the method that will handle the ListChanged event of the IBindingList class. |
| PropertyChangedEventHandler | Represents the method that will handle the PropertyChanged event raised when a property is changed on a component. |
| RefreshEventHandler | Represents the method that handles the Refreshed event raised when a Type or component is changed during design time. |
Enumerations
| Enumeration | Description |
|---|---|
| BindableSupport | Specifies values to indicate whether a property can be bound to a data element or another property. |
| CollectionChangeAction | Specifies how the collection is changed. |
| 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 | Specifies when the License can be used. |
| ListChangedType | Specifies how the list changed. |
| ListSortDirection | Specifies the direction of a sort operation. |
| 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 | Defines identifiers used to indicate the type of filter that a ToolboxItemFilterAttribute uses. |
See Also
Show: