DataTrigger where value is NOT null?

后端 未结 12 652
野趣味
野趣味 2020-11-27 10:56

I know that I can make a setter that checks to see if a value is NULL and do something. Example:


  
    

        
12条回答
  •  醉话见心
    2020-11-27 11:20

    This is a bit of a cheat but I just set a default style and then overrode it using a DataTrigger if the value is null...

      
    

提交回复
热议问题