Parameters
- control
- The System.Windows.Forms.Control that will be used to edit the content of the cell. Can be a null reference (Nothing in Visual Basic) if the editor is not displayed.
- cell
- The Xceed.Grid.Cell whose content is to be edited by the control.
- mode
- An Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the editor will be calculated.
- cellDisplayWidth
- A value, in pixels, representing the display width of the cell. The display width of the cell is its width without the borders.
- graphics
- Gets the System.Drawing.Graphics object used to paint.
- printing
- true if the editor is being printed; false otherwise.
Return Value
A value representing the fitted height of the editor in pixels. If -1, then no fitted height is required or desired.