Skip to main content
A newer version of this page is available.

CustomDrawNodePreviewEventArgs(GraphicsCache, TreeListNode, StyleObjectInfoArgs, String) Constructor

Initializes a new instance of the CustomDrawNodePreviewEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public CustomDrawNodePreviewEventArgs(
    GraphicsCache cache,
    TreeListNode node,
    StyleObjectInfoArgs info,
    string previewText
)

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.

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

previewText String

A string value representing the text of the preview section being painted. This value is assigned to the CustomDrawNodePreviewEventArgs.PreviewText property.

See Also