WPF Trigger not working, what am i doing wrong?

前端 未结 2 646
一整个雨季
一整个雨季 2021-01-25 02:04

I have the following code (only relevant snippets)


    
        
            

        
2条回答
  •  爱一瞬间的悲伤
    2021-01-25 03:04

    You need to use DataTrigger, and set the style property of the two panels to the IsChecked propery of the checkbox, here an example

             
    
            
                
                    
                
            
    

提交回复
热议问题