Hides the current bar if it is floating.
At run time, a docked bar can be made floating using the drag-and-drop operation. You can use the HideIfFloating method to hide the current bar if it is floating. If the current bar is not floating, this method is not in effect. You can also show a previously hidden floating bar, using the Bar.ShowIfFloating method.