ListBoxDrawItemEventArgs.Graphics Property
Gets an object used to paint an item.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Graphics | A Graphics object used when painting. |
Remarks
The Graphics property provides access to an object representing the painting surface. When painting, you can use the object’s methods and properties. The area to paint is the rectangle which bounds the Graphics object and this is provided by the ListBoxDrawItemEventArgs.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.