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

CustomDrawColumnHeaderEventArgs Class

Provides data for the TreeList.CustomDrawColumnHeader event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

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