Method MeasureCore
MeasureCore(Size)
When overridden in a derived class, provides measurement logic for sizing this element properly, with consideration of the size of any child element content.
protected override Size MeasureCore(Size availableSize)
Parameters
availableSize
SizeThe available size that the parent element can allocate for the child.
Returns
- Size
The desired size of this element in layout.