Spread Windows Forms 7.0 Product Documentation
GetPreferredSize Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > TextCellType Class : GetPreferredSize Method


Glossary Item Box

Gets the preferred (maximum needed) size of the cell for the editor control. Gets the preferred size (maximum size) of the editor control used in the cell.

Overload List

OverloadDescription
GetPreferredSize(Control)Gets the preferred (maximum needed) size of the cell for the editor control.  
GetPreferredSize(Graphics,Size,Appearance,Object,Single)Gets the preferred (maximum required) size of the cell for the renderer control.  

Remarks

When font is italic, the size calculation may not be accurate (because of the underlying .NET framework). The line wrapping that occurs based on the WordWrap property setting and the adjusting that occurs when the user double-clicks the header edge may not adjust properly.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.