Questions:
1) How to check whether the tool is collapsed or not (can't do like that: MyMagnifyingGlass.Visibility.Collapsed )?
if (this.MyMagnifyingGlass.Visibility == System.Windows.Visibility.Collapsed)
2) How to set the tool Collapsed or Visible?
this.MyMagnifyingGlass.Visibility = System.Windows.Visibility.Visible;