PropertyValueChanged Event

PropertyGrid.PropertyValueChanged Event

Occurs when a property value changes.

[Visual Basic]
Public Event PropertyValueChanged As _
public event PropertyValueChangedEventHandler PropertyValueChanged;
public: __event PropertyValueChangedEventHandler*

[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 PropertyValueChangedEventArgs containing data related to this event. The following PropertyValueChangedEventArgs properties provide information specific to this event.

Property Description
ChangedItem Gets the GridItem that was changed.
OldValue The value of the grid item before it was changed.


For more information about handling events, see Consuming Events.


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

© 2015 Microsoft