[]
Paints the cell when not in edit mode to the specified graphics interface with the specified appearance settings if the conditional format rule is satisfied.
public virtual PrePaintTextResult PaintCell(Graphics g, Rectangle r, Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor)
Public Overridable Function PaintCell(g As Graphics, r As Rectangle, appearance As Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single) As PrePaintTextResult
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device interface for painting the cell |
Rectangle | r | Location and size of a rectangular region |
Appearance | appearance | Appearance settings of the cell |
object | value | Object that contains the name of the renderer control of the cell |
bool | isSelected | Whether the cell is selected |
bool | isLocked | Whether the cell is locked |
float | zoomFactor | Numeric value for scaling the display of the cell |
Type | Description |
---|---|
PrePaintTextResult | A PrePaintTextResult object that indicates the result of painting |