Skip to main content

CustomDrawEmptyAreaEventArgs Class

Provides data for the TreeList.CustomDrawEmptyArea event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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