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.

The classes in this namespace divide into the following categories:

Members of System.ComponentModel Namespace

Classes
Class Description
class CancelEventArgs Provides data for a cancelable event. 
class CollectionChangeEventArgs Provides data for the DataColumnCollection.CollectionChanged event. 
class Component Provides the base implementation for the IComponent interface and enables object-sharing between applications. 
class ComponentCollection Specifies a collection of Component objects in the Container
class Container Encapsulates zero or more components. 
class DefaultValueAttribute Specifies the default value for a property. 
class EventHandlerList Provides a simple list of delegates. This class cannot be inherited. 
class InvalidEnumArgumentException The exception thrown when using invalid arguments that are enumerators. 
class MarshalByValueComponent Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed). 
class PropertyChangedEventArgs Provides data for the event. 
class WarningException Specifies an exception that is handled as a warning instead of an error. 
class Win32Exception The exception that is thrown for a Win32 error code. 

Interfaces
Interface Description
interface 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. 
interface IContainer Provides functionality for containers. Containers are objects that logically contain zero or more components. 
interface IEditableObject Provides functionality to commit or rollback changes to an object that is used as a data source. 
interface ISite Provides functionality required by sites. 
interface ISupportInitialize Specifies that this object supports a simple, transacted notification for batch initialization. 
interface ISynchronizeInvoke Provides a way to synchronously or asynchronously execute a delegate. 

Delegates
Delegate Description
delegate CancelEventHandler Represents the method that handles a cancellable event. 
delegate CollectionChangeEventHandler Represents the method that handles the DataColumnCollection.CollectionChanged event raised when adding elements to or removing elements from a collection. 
delegate PropertyChangedEventHandler Represents the method that will handle the event raised when a property is changed on a component. 

Enumerations
Enumeration Description
enumeration CollectionChangeAction Specifies how the collection is changed. 

Namepace hierarchy

Copyright (c) 2002 Microsoft Corporation. All rights reserved.