How to disable TextBlock?

前端 未结 3 1721
逝去的感伤
逝去的感伤 2021-02-05 02:07

I want my TextBlock to look disabled (grayed out) but when I set IsEnabled property to false nothing happens, it stays black:



        
3条回答
  •  执笔经年
    2021-02-05 02:30

    This would be the proper way to do it with a TextBlock i think:

    
        
            
        
    
    

提交回复
热议问题