Back to Devexpress

CustomDrawEmptyAreaEventArgs Class

windowsforms-devexpress-dot-xtratreelist-0997cb26.md

latest2.6 KB
Original Source

CustomDrawEmptyAreaEventArgs Class

Provides data for the TreeList.CustomDrawEmptyArea event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public class CustomDrawEmptyAreaEventArgs :
    CustomDrawObjectEventArgs<StyleObjectInfoArgs>
vb
Public Class CustomDrawEmptyAreaEventArgs
    Inherits CustomDrawObjectEventArgs(Of StyleObjectInfoArgs)

CustomDrawEmptyAreaEventArgs is the data class for the following events:

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

CustomDrawEmptyAreaEventArgs Members

CustomDrawEmptyArea

DevExpress.XtraTreeList Namespace