How to enable a button when a user types into a textbox

后端 未结 6 568
礼貌的吻别
礼貌的吻别 2020-12-25 15:06

What is the simplest way in WPF to enable a Button when the user types something into a TextBox?

6条回答
  •  别那么骄傲
    2020-12-25 15:44

    Use a trigger!

    
      
        
      
    
    

提交回复
热议问题