condition to check mousr rigt click

Sep 5 2014 6:08 AM
  
  if (text == "Done" || string.IsNullOrWhiteSpace(text) && ?)
                      showProgessBar = false;
                        else
                      showProgessBar = true;

In the above code
I need to add a condition that if we right click on any button in a page, progress bar should be visible else it should not be visible(i.e if we hove the mouse over the button, staus text will be displayed but progress bar should not be visible.

How to implement this?

Answers (3)