Parameters
- mode
- A value indicating in regards to what factors the fitted height of the cell will be calculated.
The fitted height of the cell is calculated in regards to the current width of its parent column, taking into consideration the WordWrap property only if mode is set to AllContent.
If the WordWrap property is set to true, then the fitted height of the cell will represent the height needed to display all cell's content appropriately. If the WordWrap property is set to false, then the fitted height of the cell will represent the height needed to display only one line of data in the cell.
If the parent row's CellRow.FitHeightToEditors is true, then the height of the cell's editor will be consulted and if its height is greater than the height of the viewer, then the fitted height of the editor will be used.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2