Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockPanel.Appearance Property

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public AppearanceObject Appearance { get; }

#Property Value

Type Description
AppearanceObject

An AppearanceObject object that contains appearance settings of the dock panel’s client region.

#Remarks

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 Appearance.BorderColor setting is in effect in skinning paint schemes if the DockPanel.AllowBorderColorBlending option is enabled.

Read the following topic for additional information: Appearance and Look and Feel.

Important

The Appearance.Font and Appearance.ForeColor properties are ignored.

See Also