DockPanel.Appearance Property

Specifies the appearance settings for the dock panel’s client region.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.1.dll


public AppearanceObject Appearance { get; }

Property Value

Type Description

An AppearanceObject object representing the appearance settings for the dock panel’s client region.


Use the Appearance property to customize the appearance of a client region of individual panels. It allows the background and foreground colors, the gradient mode, font settings and a background image to be specified. The background image will be displayed if alpha components are set for the background colors.

The BarAndDockingController’s BarAndDockingController.AppearancesDocking property accesses the appearance settings of all dock controls. The DockManagerAppearances.Panel property provides centralized control over the appearance of all the dock panels whose Appearance property is not specified. Otherwise, if this property is specified, the appearance settings for dock panels specified by the BarAndDockingController are ignored.

The Font and ForeColor properties provided by the Appearance object are ignored.

The BorderColor setting is in effect in skinning paint schemes if the DockPanel.AllowBorderColorBlending option is enabled.

The BackColor, BackColor2, GradientMode and Image properties are not in effect when dock panels are painted using any skinning painting scheme.

See Appearance and Look and Feel to learn more.

See Also