This documentation is archived and is not being maintained.

RefreshEventArgs Class

Provides data for the Refreshed event.

For a list of all members of this type, see RefreshEventArgs Members.


[Visual Basic]
Public Class RefreshEventArgs
   Inherits EventArgs
public class RefreshEventArgs : EventArgs
public __gc class RefreshEventArgs : public EventArgs
public class RefreshEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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 Refreshed event is raised. A Refreshed event is also raised when a Type is changed during design time.

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

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


For an example of the RefreshEventArgs class, see the sample code in the RefreshEventHandler delegate.


Namespace: System.ComponentModel

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

RefreshEventArgs Members | System.ComponentModel Namespace | RefreshEventHandler | TypeDescriptor | Refresh