Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawEmptyAreaEventArgs.EmptyRectangles Property

Gets the array of rectangles that specify the empty area.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public Rectangle[] EmptyRectangles { get; }

#Property Value

Type Description
Rectangle[]

An array of rectangles that specify the empty area.

#Remarks

Empty areas appear when cells do not occupy the entire area of a control. The following image shows a Tree List whose empty area has been painted light green.

CustomDrawEmptyAreaEventArgs_EmptyRectangles

See Also