RepositoryItemLookUpEdit.CustomDrawRow Event

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Events")]
public event LookUpCustomDrawRowEventHandler CustomDrawRow
<DXCategory("Events")>
Public Event CustomDrawRow As LookUpCustomDrawRowEventHandler

Event Data

The CustomDrawRow event's data class is DevExpress.XtraEditors.Popup.LookUpCustomDrawRowArgs.

Remarks

The CustomDrawRow event fires each time a grid row in the 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