Updates the
System.Windows.UIElement.DesiredSize of a
System.Windows.UIElement. Parent elements call this method from their own
System.Windows.UIElement.MeasureCore(System.Windows.Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update.
Syntax
'Declaration
Public Sub Measure( _
ByVal As Size _
)
public void Measure(
Size
)
Parameters
- availableSize
- The available space that a parent element can allocate a child element. A child element can request a larger space than what is available; the provided size might be accommodated if scrolling is possible in the content model for the current element.
See Also