[]
Gets the preferred cell height to display cell content fully.
protected override sealed int GetPreferredHeight(PaintingContext paintingContext, object cellValue, ref CfExecutedResult cellFormat, double width)
Protected NotOverridable Overrides Function GetPreferredHeight(paintingContext As PaintingContext, cellValue As Object, ByRef cellFormat As CfExecutedResult, width As Double) As Integer
Type | Name | Description |
---|---|---|
PaintingContext | paintingContext | The painting context. |
object | cellValue | The cell value. |
CfExecutedResult | cellFormat | The format settings of cell. |
double | width | The current cell width. |
Type | Description |
---|---|
int | The preferred cell height that allow displaying cell content fully. |