Table of Contents

Method GetBestSizeWithChildren

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

GetBestSizeWithChildren(PreferredSizeContext)

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

protected virtual SizeD GetBestSizeWithChildren(PreferredSizeContext context)

Parameters

context PreferredSizeContext

Returns

SizeD