This documentation is archived and is not being maintained.
PropertyGrid.SelectedGridItemChanged Event
.NET Framework 1.1
Occurs when the selected GridItem is changed.
[Visual Basic] Public Event SelectedGridItemChanged As _ SelectedGridItemChangedEventHandler [C#] public event SelectedGridItemChangedEventHandler SelectedGridItemChanged; [C++] public: __event SelectedGridItemChangedEventHandler* SelectedGridItemChanged;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type SelectedGridItemChangedEventArgs containing data related to this event. The following SelectedGridItemChangedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| NewSelection | Gets the newly selected GridItem object. |
| OldSelection | Gets the previously selected GridItem object. |
Remarks
For more information about handling events, see Consuming Events.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
PropertyGrid Class | PropertyGrid Members | System.Windows.Forms Namespace
Show: