Skip to main content

ListBoxDrawItemEventArgs.Bounds Property

Gets the bounding rectangle of the item being painted.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public Rectangle Bounds { get; set; }

Property Value

Type Description

A Rectangle structure specifying the painted item’s boundaries.


To paint an item displayed within the list box control you must define the Graphics object used to paint it and provide the rectangle specifying the item’s boundaries. When painting, you can access these values via the event parameter’s Bounds property.

See Also