Skip to main content
A newer version of this page is available. .

ColumnHeaderCustomDrawEventArgs(GraphicsCache, HeaderObjectPainter, GridColumnInfoArgs) Constructor

Initializes a new instance of the ColumnHeaderCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public ColumnHeaderCustomDrawEventArgs(
    GraphicsCache cache,
    HeaderObjectPainter painter,
    GridColumnInfoArgs info
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object that 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

An DevExpress.Utils.Drawing.ObjectPainter object that provides default painting facilities. This value is assigned to the CustomDrawObjectEventArgs.Painter property.

info DevExpress.XtraGrid.Drawing.GridColumnInfoArgs

A DevExpress.Utils.Drawing.StyleObjectInfoArgs object that contains the View information about the element being painted. This value is assigned to the CustomDrawObjectEventArgs.Info property.

See Also