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.

public override SizeD GetPreferredSize(PreferredSizeContext context)

Parameters

context PreferredSizeContext

The PreferredSizeContext providing the available size and other layout information.

Returns

SizeD

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