Bar

BarAndDockingController.PaintStyle Property

Gets the object that provides information on the current paint scheme.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public virtual BarManagerPaintStyle PaintStyle { get; }
<Browsable(False)>
Public Overridable ReadOnly Property PaintStyle As BarManagerPaintStyle

Property Value

Type Description
DevExpress.XtraBars.Styles.BarManagerPaintStyle

A DevExpress.XtraBars.Styles.BarManagerPaintStyle descendant that provides information on the current paint scheme.

Remarks

Paint information for bars, dock panels and MDI tabbed windows (XtraTabbedMdiManager) are encapsulated in classes derived from the DevExpress.XtraBars.Styles.BarManagerPaintStyle. The DevExpress Ribbon, Menu and Docking Library provides a number of paint styles (OfficeXP, Office2000, etc.) and each is represented by a specific DevExpress.XtraBars.Styles.BarManagerPaintStyle descendant.

The PaintStyle property returns the paint object according to the currently applied scheme which can be changed via the BarAndDockingController.PaintStyleName property. All the available paint schemes can be accessed from the BarAndDockingController.PaintStyles collection.

The PaintStyle property supports the internal infrastructure of the XtraBars library and usually, you do not need to use it directly from your code.

See Also