Gets the preferred size (maximum size) of the editor control used in the cell.
Overload | Description |
---|---|
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. |
There are two methods: one for the editor and one for the renderer.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8