Spread Windows Forms 10.0 Product Documentation
GetPreferredSize Method (EditBaseCellType)


Gets the preferred (maximum required) size of the cell for the renderer control.

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

Overload List
OverloadDescription
GetPreferredSize(Graphics,Size,Appearance,Object,Single)Gets the preferred (maximum required) size of the cell for the renderer control.  
GetPreferredSize(Control)Gets the preferred (maximum required) size of the cell for the editor control.  
Remarks
There are two methods: one for the editor and one for the renderer.
Requirements

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

See Also

Reference

EditBaseCellType Class
EditBaseCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.