RefreshEventArgs Class
Provides data for the Refreshed event.
For a list of all members of this type, see RefreshEventArgs Members.
System.Object
System.EventArgs
System.ComponentModel.RefreshEventArgs
[Visual Basic] Public Class RefreshEventArgs Inherits EventArgs [C#] public class RefreshEventArgs : EventArgs [C++] public __gc class RefreshEventArgs : public EventArgs [JScript] 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.
Remarks
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.
Example
For an example of the RefreshEventArgs class, see the sample code in the RefreshEventHandler delegate.
Requirements
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