Hello Jaydeep,
Hope you're doing well.
I suggest that you use Enabled property of the button:

You may have a local variable (boolean) that you can set to True or False to control if your button is enabled or disabled. You just need to use that variable and bind it to this Enabled property of your button.
Hope that this helps you!
Kind regards,
Rui Barradas