CustomDrawColumnHeaderEventArgs(GraphicsCache, HeaderObjectPainter, ColumnInfo, Boolean) Constructor

Initializes a new instance of the CustomDrawColumnHeaderEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.2.dll


public CustomDrawColumnHeaderEventArgs(
    GraphicsCache cache,
    HeaderObjectPainter painter,
    ColumnInfo columnInfo,
    bool designTimeSelected
Public Sub New(
    cache As GraphicsCache,
    painter As HeaderObjectPainter,
    columnInfo As ColumnInfo,
    designTimeSelected As Boolean


Name Type Description
cache GraphicsCache

A GraphicsCache object which specifies the storage for the most used pens, fonts and brushes. This value is assigned to the CustomDrawEventArgs.Cache property.

painter DevExpress.Utils.Drawing.HeaderObjectPainter

A DevExpress.Utils.Drawing.HeaderObjectPainter object that provides facilities for painting an element using the default mechanism. This value is assigned to the CustomDrawEventArgs.Painter property.

columnInfo DevExpress.XtraTreeList.ViewInfo.ColumnInfo

A DevExpress.XtraTreeList.ViewInfo.ColumnInfo object that provides information used to paint an element. This value is assigned to the CustomDrawObjectEventArgs.Info property.

designTimeSelected Boolean
See Also