orientation([orientation])

Class: ToolBar.

Description:

Sets or gets vertical or horizontal orientation of the ToolBar.

Parameters:

Name Type Description

[orientation]

Orientation

One of these values: Orientation.Horizontal (default) or Orientation.Vertical

Returns:

If no parameters were passed, current orientation is returned; otherwise this Toolbar component is returned for method chaining.

Type: Orientation | ToolBar

Also See: