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
SizeThe custom-sized area for a control.
Returns
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.