FrameworkContentElement.TargetUpdated 事件

定义

当参与此元素上的绑定的任意关联目标属性更改时发生。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) 

事件类型

EventHandler<DataTransferEventArgs>

注解

此事件 TargetUpdated 表示 Binding 与此元素关联的任何引发的事件。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 属性用法XAML Attribute Usage

<object TargetUpdated="EventHandler"/>  

适用于