Skip to main content

ListBoxDrawItemEventArgs.AllowDrawSkinBackground Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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