The PaintCellEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyAppearance
Gets the appearance of the Cell (Colors, gradient...).
Public propertyCell
Gets the Cell to be painted.
Public propertyClipBounds
A Rectangle that represents the area of the Grid that needs to be repainted.
Public propertyFinalAppearance
Gets the final appearance of the Cell.
Public propertyFont
Gets or sets the Font to draw the text.
Public propertyGraphics
The Graphics used to paint the Cell.
Public propertyGrid
Gets the Grid.
Public propertyHandled
Gets or sets a value that indicates whether the event handler has completely handled the event or whether the Grid should continue its own processing.
Public propertyHighlightColor
Gets or sets the highlighting color, which is evaluated with time.
Public propertyHighlightForeColor
Gets or sets the highlighting fore color, which is evaluated with time.
Public propertyImage
Gets or sets the image to be painted in Cell.
Public propertyImageSettings
Gets the image settings (padding, alignment, stretching...).
Public propertyIsMeasureOnly
Indicates whether the grid measures cell's dimensions. In this case no drawing operations should occurred.
Public propertyParts
Gets or sets the parts of Cell that are to be painted.
Public propertyRender
Gets or sets the IRender that performs basic painting operations.
Public propertyText
Gets a text to be painted in Cell.
Public propertyTextAlignment
Gets or sets the text alignment.
Public propertyTextSettings
Gets the text settings (padding, text orientation, wrapping, trimming, etc...).

See Also