Table of Contents

Method GetBestSizeWithPadding

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

GetBestSizeWithPadding(PreferredSizeContext)

Gets size of the native control based on the specified available size.

protected SizeD GetBestSizeWithPadding(PreferredSizeContext context)

Parameters

context PreferredSizeContext

The PreferredSizeContext representing context for the layout.

Returns

SizeD