Back to Devexpress

ColumnHeaderCustomDrawEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-9f18872c.md

latest2.7 KB
Original Source

ColumnHeaderCustomDrawEventArgs Class

Provides data for the GridView.CustomDrawColumnHeader event.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class ColumnHeaderCustomDrawEventArgs :
    CustomDrawObjectEventArgs
vb
Public Class ColumnHeaderCustomDrawEventArgs
    Inherits CustomDrawObjectEventArgs

ColumnHeaderCustomDrawEventArgs is the data class for the following events:

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

Object EventArgs CustomDrawEventArgs CustomDrawObjectEventArgs ColumnHeaderCustomDrawEventArgs

See Also

ColumnHeaderCustomDrawEventArgs Members

CustomDrawColumnHeader

Column

DevExpress.XtraGrid.Views.Grid Namespace