共用方式為


DomainPropertyValueHandler<TElement,TValue>.ValueChanged Method

Definition

Called by SetValue after the value has been changed to add transaction record and raise OnValueChanged event.

protected:
 void ValueChanged(TElement element, TValue oldValue, TValue newValue);
protected void ValueChanged (TElement element, TValue oldValue, TValue newValue);
member this.ValueChanged : 'Element * 'Value * 'Value -> unit
Protected Sub ValueChanged (element As TElement, oldValue As TValue, newValue As TValue)

Parameters

element
TElement

Element which owns the property.

oldValue
TValue

Old value of the property.

newValue
TValue

New value of the property.

Exceptions

element is null.

Applies to