PropertyValueChanged Event
Collapse the table of content
Expand the table of content

PropertyGrid.PropertyValueChanged Event

Occurs when a property value changes.

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

[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.

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:
© 2016 Microsoft