Method GetBestSizeWithChildren
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
contextPreferredSizeContext