BandHeaderCustomDrawEventArgs(GraphicsCache, HeaderObjectPainter, GridBandInfoArgs) Constructor

Initializes a new instance of the BandHeaderCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public BandHeaderCustomDrawEventArgs(
    GraphicsCache cache,
    HeaderObjectPainter painter,
    GridBandInfoArgs info
)
Public Sub New(
    cache As GraphicsCache,
    painter As HeaderObjectPainter,
    info As GridBandInfoArgs
)

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.GridBandInfoArgs

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

See Also