A2v10 Platform documentation
UK


TabBar Layout Element

It is a panel for selecting an item. In fact, it is just a container with the TabButton buttons where the currently selected button is associated with a value. When the buttons are pressed, the associated value is changed and vice versa, when the value is changed, the required button is selected.

In order to control, for example, the visibility of panels, you can use the Switch element.

Inherits: UIElement : UIElementBase

Content property: Buttons

Properties

Name Type Description
Buttons TabButtonCollection The buttons collection (элементы TabButton items).
ItemsSource Array Always a binding - Bind. Data source for the buttons.
Value Object A value determining the active button.
Style TabBarStyle Panel display style. Possible values:
  • Default - (by default) Standard display.
  • MainMenu - in the form of the main menu of the system.
  • Tab - in the form of the tab bar.
  • Wizard - in the form of the Wizard.
  • ButtonGroup - in the form of the buttons group.
DropShadow ShadowStyle Shadow type.
Description String | UIElementBase The text (or item) that will be displayed to the right of the buttons. For some styles, it does not make sense, so it will not be displayed.
Base item properties

Example

XAML


Result