Skip to main content

CustomDrawColumnHeaderEventArgs(GraphicsCache, HeaderObjectPainter, ColumnInfo, Boolean) Constructor

Initializes a new instance of the CustomDrawColumnHeaderEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public CustomDrawColumnHeaderEventArgs(
    GraphicsCache cache,
    HeaderObjectPainter painter,
    ColumnInfo columnInfo,
    bool designTimeSelected
)

Parameters

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