ListBoxDrawItemEventArgs.Handled Property

Gets or sets a value specifying whether default painting is required.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll


public bool Handled { get; set; }

Property Value

Type Description

true if default painting is prohibited; otherwise false.


The BaseListBoxControl.DrawItem event can be used to custom paint items displayed within the list box control. It fires before the default painting and if the Handled event parameter is set to true, default painting is not performed. Otherwise, custom painting is overridden by the control.

See Also