[]
Gets the preferred cell width to display cell content fully.
protected override sealed int GetPreferredWidth(PaintingContext paintingContext, object cellValue, ref CfExecutedResult cellFormat, double height)
Protected NotOverridable Overrides Function GetPreferredWidth(paintingContext As PaintingContext, cellValue As Object, ByRef cellFormat As CfExecutedResult, height 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 | height | The current cell height. |
Type | Description |
---|---|
int | The preferred cell width that allow displaying cell content fully. |