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

ColumnHeaderCustomDrawEventArgs Class

Provides data for the GridView.CustomDrawColumnHeader event.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ColumnHeaderCustomDrawEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also