Skip to main content

CustomDrawNodeIndicatorEventArgs(GraphicsCache, TreeListNode, ObjectPainter, IndicatorObjectInfoArgs) Constructor

Initializes a new instance of the CustomDrawNodeIndicatorEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

public CustomDrawNodeIndicatorEventArgs(
    GraphicsCache cache,
    TreeListNode node,
    ObjectPainter painter,
    IndicatorObjectInfoArgs 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.CustomDrawEventArgs.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.IndicatorObjectInfoArgs

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

See Also