Back to Devexpress

CustomDrawColumnHeaderEventArgs Class

windowsforms-devexpress-dot-xtratreelist-39ac2fa1.md

latest2.7 KB
Original Source

CustomDrawColumnHeaderEventArgs Class

Provides data for the TreeList.CustomDrawColumnHeader event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public class CustomDrawColumnHeaderEventArgs :
    CustomDrawObjectEventArgs<ColumnInfo>
vb
Public Class CustomDrawColumnHeaderEventArgs
    Inherits CustomDrawObjectEventArgs(Of ColumnInfo)

CustomDrawColumnHeaderEventArgs is the data class for the following events:

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

CustomDrawColumnHeaderEventArgs Members

CustomDrawColumnHeader

DevExpress.XtraTreeList Namespace