Click here to Skip to main content
14,869,580 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to freeze(ignore button click event) in the wpf page on button click till it reaches to the next page.

i.e when i click on button it need not to respond any further click event till it reaches to the next page. When i reaches to the next page it will work properly.

I hope i am clear.

What I have tried:

well I am trying the following things

this.Enabled = false;

Updated 28-Feb-17 21:11pm

1 solution

this.Enabled = false;
This will disable the button. Simply set to true once you are ready to accept clicks again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900