PanelControl.ForeColor Property

Gets or sets the panel's foreground color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[Browsable(false)]
public override Color ForeColor { get; set; }
<Browsable(False)>
Public Overrides Property ForeColor As Color

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