Skip to main content

PanelControl.ForeColor Property

Gets or sets the panel’s foreground color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[Browsable(false)]
public override Color ForeColor { get; set; }

Property Value

Type Description
Color

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

Remarks

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