GridControl.Paint Event
Use the GridControl.PaintEx event instead.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v19.1.dll
Declaration
Event Data
The Paint event's data class is PaintEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ClipRectangle | Gets the rectangle in which to paint. |
Graphics | Gets the graphics used to paint. |
The event data class exposes the following methods:
Method | Description |
---|---|
Dispose() | Releases all resources used by the PaintEventArgs. |
Dispose(Boolean) | Releases the unmanaged resources used by the PaintEventArgs and optionally releases the managed resources. |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Paint event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
See Also