BarManagerAppearances.Dock Property

Contains default style settings to paint bar dock controls.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.1.dll


public AppearanceObject Dock { get; }

Property Value

Type Description

A AppearanceObject object providing style settings to paint dock controls.


You can use the Dock property to specify default style settings for all dock controls. Each dock control also provides the BarDockControl.Appearance property, that allows you to override the default settings for this dock control. XtraBars employs special flags to indicate whether particular styles should be used. Flags are automatically set when assigning values to corresponding style properties. Flags can be cleared via the AppearanceObject.Options property.

The following table summarizes which appearance options provided by the Dock object are in effect in various painting schemes:

Appearance Option Office 2000 Office 2003 Windows XP Skinning Painting Scheme
BackColor + + - +
BackColor2 + + - +
Image + - - -

The BorderColor, Font, ForeColor and GradientMode properties are ignored in all painting schemes.

See Appearance and Look and Feel to learn more.

See Also