Use this container to enforce additional sizing rules, e.g. minimum/maximum/exact height.
// adjust the height to a specific value .Height(50) // set a constraint on the minimum and/or maximum height .MinHeight(50) .MaxHeight(100)
Please be careful. This component may try to enforce size constraints that are impossible to meet, e.g. when:
- the container requires more space than is available, or
- when it tries to squeeze its child into less space than possible.
Such scenarios result in a layout exception.