Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Initializes a new instance of the CustomDrawNodeCellEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.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