TabHost

A TabHost control can be used to define multiple tabs within a view. The TabHost node has one Tabs node as a child. Each tab is defined as a child Tab node. To define the tab that the mobile app will show, you can use either the OnClick attribute or the PartialViewId and PartialViewBind attributes:

Each Tab node can have these attributes, in addition to the common control attributes:

Attribute Description
Image Image to show on the tab. How the image is implemented depends on the mobile app.
PartialViewBind Property used to bind the partial view to the parent view's model. For example, an Application tab in an inspection viewer might be bound to Inspection.Application.
PartialViewId ID of the view to be shown on the tab. To indicate the view that will be displayed on the tab, you can use either the PartialViewId and PartialViewBind or an OnClick rule.