Border
Wraps a single child with padding and an optional stroke; also the generic padding container.
Properties
Stroke
The stroke color, or null (default) for no stroke.
StrokeDashPattern
Alternating painted and unpainted stroke lengths in points, or null (default) for a solid stroke.
Type: BindableList<double>
StrokeLineCap
The shape at the ends of each painted dash. Flat by default.
This has no visible effect on a solid, closed stroke.
Type: Bindable<StrokeLineCap>
StrokeThickness
The stroke width in points.
Also insets the child so the stroke never overlaps content.
Methods
ArrangeOverride
Content arrangement. Panels override to place their children.
| Parameter | Summary |
|---|---|
Size finalSize | The final size available for the view's content. |
Returns
Size: The arranged content size.
MeasureOverride
Content measurement. Panels recurse; controls delegate to the native SizeThatFits.
| Parameter | Summary |
|---|---|
Size availableSize | The size available for the view's content. |
Returns
Size: The desired content size.