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

CustomDrawNodeImagesEventArgs Class

Provides data for the TreeList.CustomDrawNodeImages event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.1.dll

Declaration

public class CustomDrawNodeImagesEventArgs :
    CustomDrawNodeEventArgs<StyleObjectInfoArgs>

Remarks

The TreeList.CustomDrawNodeImages event allows you to paint node images using custom draw. The basic data required to perform element custom painting is supplied by CustomDrawNodeImagesEventArgs class properties inherited from the CustomDrawEventArgs class. These properties provide image specific information including the node whose images are painted, object representing images to paint, etc.

Instances of the CustomDrawNodeImagesEventArgs class are automatically created and passed to TreeList.CustomDrawNodeImages event handlers.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomDrawNodeImagesEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
CustomDrawEventArgs
DevExpress.XtraTreeList.CustomDrawObjectEventArgs<DevExpress.Utils.Drawing.StyleObjectInfoArgs>
DevExpress.XtraTreeList.CustomDrawNodeEventArgs<DevExpress.Utils.Drawing.StyleObjectInfoArgs>
CustomDrawNodeImagesEventArgs
See Also