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

CustomDrawNodePreviewEventArgs Class

Provides data for the TreeList.CustomDrawNodePreview event.

Namespace: DevExpress.XtraTreeList

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

Inheritance

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