ListBoxDrawItemEventArgs.Handled Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public bool Handled { get; set; }
Public Property Handled As Boolean

Property Value

Type Description
Boolean

true if default painting is prohibited; otherwise false.

Remarks

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