動作するバインディングがあります。GUIが更新されます。
<DataGridTextColumn Binding="{Binding Path=Value,
NotifyOnTargetUpdated=True,
NotifyOnSourceUpdated=True,
Mode=OneWay}"/>
バインディングソースオブジェクトはINotifyPropertyChangedを実装し、バインディングプロパティは通常のclrプロパティです。
Binding.TargetUpdated
イベントは発生しますが、発生しませんBinding.SourceUpdated
。
たとえば、次の作品
<EventTrigger RoutedEvent="Binding.TargetUpdated"> ...
しかし
<EventTrigger RoutedEvent="Binding.SourceUpdated"> ...
ではない。
コードまたはXAMLでバインディングを作成するかEventTrigger
、Triggers
コレクションで使用するか、またはで使用しても、違いはありませんEventSetter
。私が知る限り、イベントは発火していないだけです。
誰かがBinding.SourceUpdated
火を起こす方法を知っていますか?