CustomDrawEventArgs.Graphics Property
Gets an object used to paint.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
Graphics | A System.Drawing.Graphics object used to paint. |
Remarks
The Graphics property gives you access to an object representing the painting surface and providing a means to paint. When performing custom drawing, you can use methods and properties of this object to accomplish the task. Another element required to perform correct painting is the object’s bounding rectangle. This is provided by the CustomDrawEventArgs.Bounds property.
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.