Bewerken

Share via


FrameworkContentElement.TargetUpdated Event

Definition

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

public:
 event EventHandler<System::Windows::Data::DataTransferEventArgs ^> ^ TargetUpdated;
public event EventHandler<System.Windows.Data.DataTransferEventArgs> TargetUpdated;
member this.TargetUpdated : EventHandler<System.Windows.Data.DataTransferEventArgs> 
Public Custom Event TargetUpdated As EventHandler(Of DataTransferEventArgs) 

Event Type

Remarks

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.

XAML Attribute Usage

<object TargetUpdated="EventHandler"/>

Applies to