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

后端 未结 6 1661
梦如初夏
梦如初夏 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:09

    As far as I can understand there isn't any textchanged event in TextBlock. Looking at your requirement, I feel that re-templating a textbox will also not be a viable solution. From my preliminary searching around, this seems to be a possible solution.

    
        
            
                
                    
                        
                        
                    
                
            
        
    
    

提交回复
热议问题