Back to Devexpress

RepositoryItemLookUpEdit.CustomDrawHeader Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemlookupedit-af1e3d29.md

latest1.7 KB
Original Source

RepositoryItemLookUpEdit.CustomDrawHeader Event

Provides the capability to perform custom painting of grid column headers in the drop-down.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event LookUpCustomDrawHeaderEventHandler CustomDrawHeader
vb
<DXCategory("Events")>
Public Event CustomDrawHeader As LookUpCustomDrawHeaderEventHandler

Event Data

The CustomDrawHeader event's data class is DevExpress.XtraEditors.Popup.LookUpCustomDrawHeaderArgs.

Remarks

The CustomDrawHeader event fires when grid column headers in the control’s drop-down is about to be painted, and allows you to perform custom painting. The Graphics argument provides access to the object used to paint. Note that the Handled argument must be set to true to prevent the default painting.

See Also

CustomDrawHeader

RepositoryItemLookUpEdit Class

RepositoryItemLookUpEdit Members

DevExpress.XtraEditors.Repository Namespace