Skip to main content
Bar

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

BarAndDockingController.ResetStyleDefaults() Method

In This Article

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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