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

ColumnHeaderCustomDrawEventArgs Class

Provides data for the GridView.CustomDrawColumnHeader event.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public class ColumnHeaderCustomDrawEventArgs :
    CustomDrawObjectEventArgs

#Remarks

The GridView.CustomDrawColumnHeader event fires before a column header is painted. It enables you to paint column headers manually or modify their appearance settings before they are painted using the default mechanism. ColumnHeaderCustomDrawEventArgs class properties allow you to identify the column whose header is being painted and provide settings common to all custom painting events. Please refer to the Custom Painting Basics topic for details.

#Inheritance

See Also