FrameworkContentElement::TargetUpdated Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Occurs when any associated target property participating in a binding on this element changes.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event EventHandler<DataTransferEventArgs^>^ TargetUpdated {
	void add(EventHandler<DataTransferEventArgs^>^ value);
	void remove(EventHandler<DataTransferEventArgs^>^ value);
}

This event surfaces the TargetUpdated event that is raised by any Binding associated with this element. This usually means that the binding in question is a two-way binding, and that the bound dependency property affirms an invalidation of the previous property value per any validation or caching scheme that the property supports.

The event arguments of this event will inform you which bound property was changed.

<object TargetUpdated="EventHandler"/>

.NET Framework
Available since 3.0
Return to top
Show: