A2v10 Platform documentation
UK


Toolbar Layout Element

Represents a toolbar.

Any item can be placed in the toolbar, but most often, simple Button buttons, TextBox text boxes, etc. are placed there. The Separator element is used to visually separate the buttons.

To split button blocks into two parts - left and right, the Toolbar.Align attached property is used.

Inherits: Container : UIElement : UIElementBase

Properties

Name Type Description
Style ToolbarStyle Toolbar display style. Possible values:
  • Default - (by default) standard display.
  • Transparent - transparent toolbar.
  • Light - light style.
The exact display type depends on the user interface theme.
Border ToolbarBorderStyle Frame. Possible values:
  • None - (by default) no frame.
  • Bottom - frame bottom only.
  • BottomShadow - bottom frame with shadow.
The exact display type depends on the user interface theme.
AlignItems AlignItems Items alignment mode.
Base item properties

Attached properties

Name Type Description
Toolbar.Align ToolbarAlign Where to place the item. Possible values:
  • Left - (by default) To the left block of buttons.
  • Right - To the right block of buttons.

Example

XAML


Result