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

CustomDrawNodeCellEventArgs Class

Provides data for the TreeList.CustomDrawNodeCell event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public class CustomDrawNodeCellEventArgs :
    CustomDrawNodeEventArgs<StyleObjectInfoArgs>

#Remarks

The TreeList.CustomDrawNodeCell event allows you to paint cells using custom draw. The base information required to perform custom painting of an element is provided by CustomDrawNodeCellEventArgs class properties inherited from the CustomDrawEventArgs class. These properties allow you to obtain cell specific information including the column and node owning the cell, the cell value, etc.

CustomDrawNodeCellEventArgs objects are automatically created and passed to TreeList.CustomDrawNodeCell event handlers.

#Inheritance

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