Skip to main content
A newer version of this page is available. .

ListBoxDrawItemEventArgs.AllowDrawSkinBackground Property

Gets or sets whether the item background is colored according to the currently applied skin.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public bool AllowDrawSkinBackground { get; set; }

Property Value

Type Description
Boolean

true, if the item background is colored according to the currently applied skin; otherwise, false. The default is true.

Remarks

By default, the item background is colored according to the currently applied skin. Set the AllowDrawSkinBackground property to false to color the item background based on the AppearanceObject.BackColor property (accessible through the ListBoxDrawItemEventArgs.Appearance property).

See Also