Table of Contents

Method GetPreferredSize

Namespace
Alternet.Editor.Dialogs.VsControls
Assembly
Alternet.Editor.v10.dll

GetPreferredSize(Size)

Retrieves the size of a rectangular area into which a control can be fitted.

public override Size GetPreferredSize(Size proposedSize)

Parameters

proposedSize Size

The custom-sized area for a control.

Returns

Size

An ordered pair of type Size representing the width and height of a rectangle.

GetPreferredSize(SizeD)

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

public override SizeD GetPreferredSize(SizeD proposedSize)

Parameters

proposedSize SizeD

Returns

SizeD

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