How to detect a change in the Text property of a TextBlock?

后端 未结 6 1664
梦如初夏
梦如初夏 2020-12-09 16:55

Is there any way to detect a change in the Text property of a TextBlock element using events?

(I\'m trying to provide an animation for highlighting the TextBlocks wh

6条回答
  •  执念已碎
    2020-12-09 17:23

    This is like the code from the link in bioskope's answer, but simplified. You need the TargetUpdated event and add NotifyOnTargetUpdated=True to the binding.

    
    

提交回复
热议问题