Occurs when a property value is changing.
Syntax
Event Data
The event handler receives an argument of type PropertyChangingEventArgs containing data related to this event. The following PropertyChangingEventArgs properties provide information specific to this event.
Property | Description |
---|
Cancel | Gets or sets whether to cancel changing the property value. |
NewValue | Gets the new value to be set by the property. |
PropertyName | The name of the property whose value is changing. |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also