How to Enable/Disable button in wpf

前端 未结 5 388
温柔的废话
温柔的废话 2021-01-02 10:51

I Have 2 button , Start And capture. I want disable capture button on form load and enable start. and on after click on start disable start button and enable capture. Pleas

5条回答
  •  不知归路
    2021-01-02 11:15

    Set IsEnabled="False" to disable the button

    Set IsEnabled="True" to enable the button

    Hope this helps

提交回复
热议问题