BoxView

Basic example

View.BoxView()

Basic example with styling

View.BoxView(
    horizontalOptions = style.Position,
    verticalOptions = style.Position,
    backgroundColor = style.ViewColor
)

See also:

More examples

An example BoxView is as follows:

View.BoxView(
    color = Color.CornflowerBlue,
    cornerRadius = CornerRadius 10.,
    horizontalOptions = LayoutOptions.Center
)