CustomDrawEventArgs.Graphics Property
Gets an object used to paint.
Namespace: DevExpress.XtraVerticalGrid.Events
Assembly: DevExpress.XtraVerticalGrid.v20.2.dll
NuGet Package: DevExpress.Win.VerticalGrid
Declaration
Property Value
Type | Description |
---|---|
Graphics | A Graphics object providing painting facilities. |
Remarks
The Graphics property gives you access to an object that represents the painting surface and provides a means to perform painting. When custom painting, you can use this object’s methods and properties to draw text, graphics primitives and images. Note that painted elements must reside within the area specified by the CustomDrawEventArgs.Bounds property. Otherwise, they will overlap other elements within the control.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Graphics property.
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.