Back to Devexpress

CustomDrawNodePreviewEventArgs Class

windowsforms-devexpress-dot-xtratreelist-a8ced2ae.md

latest2.5 KB
Original Source

CustomDrawNodePreviewEventArgs Class

Provides data for the TreeList.CustomDrawNodePreview event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public class CustomDrawNodePreviewEventArgs :
    CustomDrawNodeEventArgs<StyleObjectInfoArgs>
vb
Public Class CustomDrawNodePreviewEventArgs
    Inherits CustomDrawNodeEventArgs(Of StyleObjectInfoArgs)

CustomDrawNodePreviewEventArgs is the data class for the following events:

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

CustomDrawNodePreviewEventArgs Members

CustomDrawNodePreview

DevExpress.XtraTreeList Namespace