Skip to main content

CustomDrawNodeButtonEventArgs(GraphicsCache, TreeListNode, ObjectPainter, OpenCloseButtonInfoArgs) Constructor

Initializes a new instance of the CustomDrawNodeButtonEventArgs class.

Namespace: DevExpress.XtraTreeList

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