ListBoxDrawItemEventArgs.Graphics Property

Gets an object used to paint an item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public Graphics Graphics { get; }
Public ReadOnly Property Graphics As Graphics

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.

See Also