Table of Contents

Method GetPaddedPreferredSize

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

GetPaddedPreferredSize(SizeD)

Returns the size of the area which can fit all the children of this control, with an added padding.

protected virtual SizeD GetPaddedPreferredSize(SizeD preferredSize)

Parameters

preferredSize SizeD

Returns

SizeD