TabBar

The TabBar component controls the user experience of the currently selected instance data.

The TabBar component is passed a parameter MyInstance that determines which Instance is being displayed on the page. The MyInstance FormBuilder parameter completely defines the states of all components being displayed on this page and completely defines the user experience. The MyInstance data will be refreshed when a new version of the instance is loaded or when control transfers to a different instance.

The component uses a Telerik TabStrip control to render the various tabs for the current instance that the user has access to and for each tab a FieldGridLayout component is used to render all the fields in a grid layout.

When a user selects a tab, all the fields that the user can see within that tab are selected from the current tab definition as a set of field elements. Each Field Element is then used to render a new field on the page using the Field component. There may be zero or more Field components on each tab. Each Field component (which is inside the FieldGridLayout component) is passed a copy of the MyInstance parameter and its defining Field Element.

When using the MAUI application on a mobile device the tab strip is replaced with a dropdown combo-box to save space.

If there is any help available for the tab, a Tab Help button will be displayed above the fields within the tab.

For more information about how to assign fields to Tabs see here.

Updated on October 16, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment