Creates a new panel.toggle_button.ToggleButton to hide the dock in the area.
panel.dock.Dock the panel to control
panel.types.Area the panel area. A value of enumPanel.Area.CENTER is invalid.
a newly created panel.toggle_button.ToggleButton
Creates a new panel.toggle_button.ToggleButton to hide the dock in the area.