Method toolbar.Hide
Overload
Adds or removes a reason to temporarily hide the toolbar. The toolbar is hidden if at least one reason exists. See also toolbar.Close.
public void Hide(bool hide, TBHide reason)
Parameters
hide (bool)
|
reason (TBHide)
A user-defined reason to hide/unhide. Can be TBHide.User or a bigger value, eg |
Exceptions
InvalidOperationException
|
ArgumentOutOfRangeException
reason is less than TBHide.User. |
Remarks
Toolbars are automatically hidden when the owner window is hidden, minimized, etc. This function can be used to hide toolbars for other reasons.