Skip to main content
Bar

BarAndDockingController.ResetStyleDefaults() Method

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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. At runtime, you may want to call this method manually after changing the paint scheme to reset dependent settings.

See Also