Skip to main content
A newer version of this page is available. .
Bar

BarAndDockingController.ResetStyleDefaults() Method

Updates the style settings with respect to the painting style applied.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public virtual void ResetStyleDefaults()

Remarks

The ResetStyleDefaults method restores the style settings which depend on the current paint scheme. Specifically, the method calls the BarManagerProperties.ResetStyleDefaults method, which sets the BarManagerProperties.AllowLinkLighting property to a default value according to the paint scheme.

This method is automatically called at design time when you change the current paint scheme via the BarAndDockingController.PaintStyleName or BarAndDockingController.LookAndFeel properties. At runtime, you may want to call this method manually after changing the paint scheme to reset dependent settings.

See Also