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 Class

Provides data for the TreeList.CustomDrawEmptyArea event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public class CustomDrawEmptyAreaEventArgs :
    CustomDrawObjectEventArgs<StyleObjectInfoArgs>

#Remarks

The TreeList.CustomDrawEmptyArea event fires before the control’s empty area is painted, allowing you to perform your own painting of the empty area or modify its appearance settings before it is painted using the default mechanism. The CustomDrawEmptyAreaEventArgs class inherits properties that provide the common information required to custom paint an element. It introduces the CustomDrawEmptyAreaEventArgs.BehindColumn property so you can identify the drawing area under the blank column header.

See Custom Drawing to learn more.

#Inheritance

Object
EventArgs
CustomDrawEventArgs
DevExpress.XtraTreeList.CustomDrawObjectEventArgs<DevExpress.Utils.Drawing.StyleObjectInfoArgs>
CustomDrawEmptyAreaEventArgs
See Also