Back to Devexpress

PanelControl.ForeColor Property

windowsforms-devexpress-dot-xtraeditors-dot-panelcontrol-f6a4543b.md

latest1.8 KB
Original Source

PanelControl.ForeColor Property

Gets or sets the panel’s foreground color.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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

Appearance

PanelControl Class

PanelControl Members

DevExpress.XtraEditors Namespace