Table of Contents

Method GetPreferredSize

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

GetPreferredSize(PreferredSizeContext)

Retrieves the size of a rectangular area into which a control can be fitted, in device-independent units.

SizeD GetPreferredSize(PreferredSizeContext context)

Parameters

context PreferredSizeContext

The PreferredSizeContext representing context for the layout.

Returns

SizeD

A SizeD representing the width and height of a rectangle, in device-independent units.

GetPreferredSize()

SizeD GetPreferredSize()

Returns

SizeD

A SizeD representing the preferred size.