TabbedPage

Basic example

View.TabbedPage([
    View.ContentPage(
        title = "First Tab",
        content = View.Label("TabbedPage 1")
    )
    View.ContentPage(
        title = "Second Tab",
        content = View.Label("TabbedPage 2")
    )
])

Basic example with styling

View.TabbedPage(
    backgroundColor = style.PageColor,
    title = "TabbedPage",
    children = [
        View.ContentPage(
            title ="First Tab",
            content = View.Label(
                horizontalOptions = style.Position,
                verticalOptions = style.Position,
                backgroundColor = style.ViewColor,
                padding = style.Padding,
                text = "TabbedPage 1" 
            ) 
        )
        View.ContentPage(
            title ="Second Tab",
            content = View.Label(
                horizontalOptions = style.Position,
                verticalOptions = style.Position,
                backgroundColor = style.ViewColor,
                padding = style.Padding,
                text = "TabbedPage 2"
            )
        )
    ]
)

See also: