IVsProjectDesignerPageSite::OnPropertyChanged Method (String^, PropertyDescriptor^, Object^, Object^)
Visual Studio 2015
Raised after a property on the property page has changed.
Assembly: Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)
[DispIdAttribute(1)]
void OnPropertyChanged(
String^ propertyName,
PropertyDescriptor^ propertyDescriptor,
Object^ oldValue,
Object^ newValue
)
Parameters
- propertyName
-
Type:
System::String^
The name of the property whose value has changed.
- propertyDescriptor
-
Type:
System.ComponentModel::PropertyDescriptor^
A PropertyDescriptor that applies to the property.
- oldValue
-
Type:
System::Object^
The previous value of the property.
- newValue
-
Type:
System::Object^
The new value of the property.
If a property page hosted by the Project Designer wants to support automatic Undo/Redo, it must call this method after a property value has changed.
Show: