IVsProjectDesignerPageSite::OnPropertyChanging Method (String^, PropertyDescriptor^)

 

Raised before a property value is changed.

Namespace:   Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly:  Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)

[DispIdAttribute(2)]
void OnPropertyChanging(
	String^ propertyName,
	PropertyDescriptor^ propertyDescriptor
)

Parameters

propertyName
Type: System::String^

The name of the property to be changed.

propertyDescriptor
Type: System.ComponentModel::PropertyDescriptor^

A PropertyDescriptor that applies to the property.

If a property page hosted by the Project Designer wants to support automatic Undo/Redo, it must call this method before a property value is changed. This allows the site to query for the current value of the property and save it for later use in handling Undo/Redo.

Return to top
Show: