This documentation is archived and is not being maintained.

DomainPropertyValueHandler<TElement, TValue>::OnValueChanging Method

Alerts listeners when a property value is about to change.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

protected:
virtual void OnValueChanging(
	TElement element, 
	TValue oldValue, 
	TValue newValue
)

Parameters

element
Type: TElement

The element.

oldValue
Type: TValue

The current value of the property.

newValue
Type: TValue

The new value of the property.

Show: