PanelControl.ForeColor Property

Gets or sets the panel's foreground color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll


public override Color ForeColor { get; set; }
Public Overrides Property ForeColor As Color

Property Value

Type Description

A Color structure which specifies the panel's foreground color.


The appearance settings used to paint the panel are provided by the PanelControl.Appearance property. This property returns an AppearanceObject object whose properties specify the panel's background and foreground colors, font, etc. The ForeColor property's value is synchronized with the appearance object's AppearanceObject.ForeColor property.

See Also