Summary
Updates DesiredSize of the ClipBorder. Called by parent UIElement. This is the first pass of layout.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- ClipBorder
Syntax
protected override Size MeasureOverride(Size constraint)
Remarks
Border determines its desired size it needs from the specified border the child: its sizing
properties, margin, and requested size.
Parameters
| Name | Type | Description |
|---|---|---|
| constraint | Size | Constraint size is an "upper limit" that the return value should not exceed. |
Return Value
| Type | Description |
|---|---|
| Size | The Decorator's desired size. |
