condition to check mouse hover on the button

Sep 8 2014 4:27 AM

  if (text == "Done" || string.IsNullOrWhiteSpace(text) && ?)
                      showProgessBar = false;
                        else
                      showProgessBar = true;

i made progress bar visible for the above conditions.

I need to make the progress bar invisible when we mouse hover on the button in the pages.(as per the above condition if we mouse hover on the button status text will be displayed thus progress bar is also visible which is wrong). it need to be generic because there are different buttons in other pages..it need to be implemented for all pages.
 PLs help, thanks in advance

Answers (1)