GridControl.Paint Event
In This Article
Use the GridControl.PaintEx event instead.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event PaintEventHandler Paint
#Event Data
The Paint event's data class is PaintEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Clip |
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 Paint |
Dispose |
Releases the unmanaged resources used by the Paint |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
See Also