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
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:
|
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 |
XAML
Result