System.ComponentModel.RefreshEventArgs Class

Provides data for the TypeDescriptor.Refreshed event.

See Also: RefreshEventArgs


public class RefreshEventArgs : EventArgs


Typically, component information does not change for the life of a process. During design time, however, you can change the component's properties or events. As a result, the component's information in TypeDescriptor becomes out-of-date, and a TypeDescriptor.Refreshed event is raised. A TypeDescriptor.Refreshed event is also raised when a Type is changed during design time.

A RefreshEventArgs object specifies the data associated with the TypeDescriptor.Refreshed event; that is, the component and the type of component that changed.

The RefreshEventArgs class provides RefreshEventArgs.ComponentChanged and RefreshEventArgs.TypeChanged properties to get the component or type that raised the event.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,

The members of System.ComponentModel.RefreshEventArgs are listed below.

See Also: EventArgs

Public Constructors

Initializes a new instance of the RefreshEventArgs class with the component that has changed.

Initializes a new instance of the RefreshEventArgs class with the type of component that has changed.

Public Properties


Gets the component that changed its properties, events, or extenders.


Gets the Type that changed its properties or events.