Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawNodePreviewEventArgs Class

Provides data for the TreeList.CustomDrawNodePreview event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#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