CustomDrawNodePreviewEventArgs Class
Provides data for the TreeList.CustomDrawNodePreview event.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v18.1.dll
Declaration
public class CustomDrawNodePreviewEventArgs :
CustomDrawNodeEventArgs<StyleObjectInfoArgs>
Remarks
The CustomDrawNodePreviewEventArgs event gives you the ability to perform custom painting of preview sections. Basic data required to paint an element is supplied by CustomDrawNodePreviewEventArgs class properties inherited from the CustomDrawEventArgs class. These properties provide preview section specific information including the node whose preview section is displayed, preview text, etc.
CustomDrawNodePreviewEventArgs objects are automatically created, adjusted and passed to TreeList.CustomDrawNodePreview event handlers.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomDrawNodePreviewEventArgs 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.