Skip to main content

CustomDrawNodeCellEventArgs(GraphicsCache, CellInfo, BaseEditPainter, StyleObjectInfoArgs, Boolean) Constructor

Initializes a new instance of the CustomDrawNodeCellEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

public CustomDrawNodeCellEventArgs(
    GraphicsCache cache,
    CellInfo cellInfo,
    BaseEditPainter painter,
    StyleObjectInfoArgs infoArgs,
    bool focused
)

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.

cellInfo DevExpress.XtraTreeList.ViewInfo.CellInfo

A DevExpress.XtraTreeList.ViewInfo.CellInfo object that stores the internal information about the processing cell.

painter DevExpress.XtraEditors.Drawing.BaseEditPainter

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

infoArgs DevExpress.Utils.Drawing.StyleObjectInfoArgs

A DevExpress.Utils.Drawing.StyleObjectInfoArgs object that provides information used to paint an element. This value is assigned to the CustomDrawObjectEventArgs.Info property.

focused Boolean

true if the cell is focused; otherwise, false. This value is assigned to the CustomDrawNodeCellEventArgs.Focused property.

See Also