Table of Contents

Method GetBestSizeWithChildren

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetBestSizeWithChildren(SizeD)

Gets the size of the control specified in its SuggestedWidth and SuggestedHeight properties or calculates preferred size from its children.

protected virtual SizeD GetBestSizeWithChildren(SizeD availableSize)

Parameters

availableSize SizeD

Returns

SizeD