Bug Report Q469122
Visible to All Users
Duplicate

The "InvalidOperationException: Cannot set OverridesDefaultStyle property in the default Style." exception is thrown at design time when the LightGray theme is used

created 11 years ago (modified 11 years ago)

[DevExpress Support Team: CLONED FROM Q433375: wpf theme problem]
Hello,

Today I was having same behavior with 13.2.8 version. Removing the line of code "dx:ThemeManager.ThemeName="LightGray"" causes a cyclical exception with TextEdit control, related to theme process. Really annonaying this issue.

I have a question here: If you remove this line of code, why is not placed again when a new theme is selected ???. Seems that app.config is affected too. Removing the lines in the .config file related to DevExpress theme management, causes exceptions too.

See attached image.
Thank you.
César Qüeb

Show previous comments (13)

    Hi, we have the same probleme. do you have find a solution ?

    Alex Chuev (DevExpress) 10 years ago

      Hi Jean,

      I will check on the status of this issue and get back to you with the results.

      Thanks for your patience.

      Alex

      Alex Chuev (DevExpress) 10 years ago

        Jean,

        We have fixed this issue. Please try the hotfix once it is available and let us know your results.

        Thanks,
        Alex

        Answers approved by DevExpress Support

        created 10 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Show previous comments (10)
          CD CD
          Chris Dickerson 9 years ago

            I am using v16.1.5.16237 and this issue still occurs when opening the Xaml. Attaching UserControl as requested.

            DevExpress Support Team 9 years ago

              Thank you for sending the problematic XAML. We will research why the error occurs in this scenario as well.

              DevExpress Support Team 8 years ago

                Hi Chris,
                Thank you for your patience. Our developers fixed the last issue you reported in the context of the T466975 report (we decided to create a new report because versions 14.1-15.1 include corrections that may help in some scenarios). I have already requested a hotfix in that report - we will publish it as soon as a daily build is ready. Please try it in your working project and let us know if the issue is resolved.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.