'Declaration Protected Overrides Function MeasureOverride( _ ByVal constraint As Size _ ) As Size
'Usage Dim instance As WindowContainer Dim constraint As Size Dim value As Size value = instance.MeasureOverride(constraint)
protected override Size MeasureOverride( Size constraint )
Parameters
- constraint
- The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.
Return Value
The size that this element determines it needs during layout, based on its calculations of child element sizes.