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

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event LookUpCustomDrawHeaderEventHandler CustomDrawHeader

#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