CarouselPage

Basic example

View.CarouselPage(
    children = [
        View.ContentPage(
            title ="carousel1",
            content = View.Label("carousel page 1")
        )
        View.ContentPage(
            title ="carousel2",
            content = View.Label("carousel page 2")
        )
    ]
)

Basic example with styling

View.CarouselPage(
    backgroundColor = style.PageColor,
    title = "CarouselPage",
    children = [
        View.ContentPage(
            title ="carousel1",
            content = View.Label(
                horizontalOptions = style.Position,
                verticalOptions = style.Position,
                backgroundColor = style.ViewColor,
                padding = style.Padding,
                text = "carousel page 1"
            )
        )
        View.ContentPage(
            title ="carousel1",
            content = View.Label(
                horizontalOptions = style.Position,
                verticalOptions = style.Position,
                backgroundColor = style.ViewColor,
                padding = style.Padding,
                text = "carousel page 2"
            )
        )
    ]
)

See also: