Method toolbar.Show(+ 3 overloads)
Overload
Shows the toolbar.
public void Show(screen screen = default)
Parameters
|
screen (screen)
Attach to this screen. For example a screen index (0 the primary, 1 the first non-primary, and so on). Example: |
Exceptions
|
ArgumentException
The toolbar was created by AutoHideScreenEdge, and now screen specified again. |
|
InvalidOperationException
Show already called. |
Remarks
The toolbar will be moved when the screen moved or resized.
Overload(next)
Shows the toolbar and attaches to a window.
public void Show(wnd ownerWindow, bool clientArea = false)
Parameters
|
ownerWindow (wnd)
Window or control. Can belong to any process. |
|
clientArea (bool)
Let the toolbar position be relative to the client area of the window. |
Exceptions
|
InvalidOperationException
Show already called. |
|
ArgumentException
ownerWindow is 0. |
Remarks
The toolbar will be above the window in the Z order; moved when the window moved or resized; hidden when the window hidden, cloaked or minimized; destroyed when the window destroyed.
Overload(next)
Shows the toolbar and attaches to an object in a window.
public void Show(wnd ownerWindow, ITBOwnerObject oo)
Parameters
|
ownerWindow (wnd)
Window that contains the object. Can be control. Can belong to any process. |
|
oo (ITBOwnerObject)
A variable of a user-defined class that implements ITBOwnerObject interface. It provides object location, visibility, etc. |
Exceptions
|
InvalidOperationException
Show already called. |
|
ArgumentException
ownerWindow is 0. |
Remarks
The toolbar will be above the window in the Z order; moved when the object or window moved or resized; hidden when the object or window hidden, cloaked or minimized; destroyed when the object or window destroyed.
Overload(top)
Shows the toolbar.
If ta is WindowTriggerArgs, attaches the toolbar to the trigger window.
Else if ta != null, calls TriggerArgs.DisableTriggerUntilClosed.
public void Show(TriggerArgs ta)
Parameters
| ta (TriggerArgs) |