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

CustomDrawColumnHeaderEventArgs Class

Provides data for the TreeList.CustomDrawColumnHeader event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public class CustomDrawColumnHeaderEventArgs :
    CustomDrawObjectEventArgs<ColumnInfo>

#Remarks

The TreeList.CustomDrawColumnHeader event allows you to paint column headers and column buttons using custom draw. The CustomDrawColumnHeaderEventArgs class provides you the information used to paint a column header and allows you to specify whether default painting is performed. The common properties used to paint an element are inherited from the CustomDrawEventArgs class. These properties provide information about the current state of the painted object and data specific to a column header. This includes caption text, sort order performed against column values, etc.

Instances of the CustomDrawColumnHeaderEventArgs class are automatically created and passed to TreeList.CustomDrawColumnHeader event handlers.

#Inheritance

Object
EventArgs
CustomDrawEventArgs
DevExpress.XtraTreeList.CustomDrawObjectEventArgs<DevExpress.XtraTreeList.ViewInfo.ColumnInfo>
CustomDrawColumnHeaderEventArgs
See Also