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

CustomDrawNodeButtonEventArgs(GraphicsCache, TreeListNode, ObjectPainter, OpenCloseButtonInfoArgs) Constructor

In This Article

Initializes a new instance of the CustomDrawNodeButtonEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public CustomDrawNodeButtonEventArgs(
    GraphicsCache cache,
    TreeListNode node,
    ObjectPainter painter,
    OpenCloseButtonInfoArgs info
)

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

node TreeListNode

A TreeListNode object specifying the node being processed. This value is assigned to the DevExpress.XtraTreeList.CustomDrawNodeEventArgs.Node property.

painter DevExpress.Utils.Drawing.ObjectPainter

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.

info DevExpress.Utils.Drawing.OpenCloseButtonInfoArgs

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

See Also