Current filter:
                                You should refresh the page.
                                Support Center
                                  • In Visual Studio 2005, the Developer Express controls appear as read-only on inherited forms. Is there a way to make them editable and use visual inheritance as in the previous versions of Visual Studio?

                                You must  log in  or  register  to leave comments

                                1 Solution


                                We have found a way to enable visual inheritance in our controls when they are used in Visual Studio 2005 / 2008. We have tested this solution in all the typical visual inheritance scenarios and haven't noticed any failures yet. But we cannot be completely sure that we have chosen the correct approach and thus we don't enable visual inheritance by default. What causes this doubt is that Microsoft disabled visual inheritance for its controls.

                                There is a DXDesignKeys tool shipped with the DXperience suite. It adds a new key to the registry and is capable of changing its state. When this key is present and enabled, Developer Express controls allow visual inheritance. If it is not present or disabled, visual inheritance is prohibited just as with standard controls (this is the default behavior). To launch the program, select its shortcut from the Start Menu\Programs\Developer Express v20XX vol Y\Components\Tools menu, where X and Y correspond to your DXperience version. Make sure to close Visual Studio prior to using the DXDesignKeys tool.

                                Note: starting with version 12.1 we renamed the DXDesignKeys tool to "WinForms 12.2 Design-Time Settings"

                                See Also:
                                The use of XPO and server mode data source components on visually inherited controls
                                Can I use the grid on an inherited form or user control?
                                Troubleshooting design-time problems
                                What is the best way to set the same Look-and-Feel style of the entire application with DXperience for Windows Forms?

                                • AndreaDellepiane 02.01.2014

                                  Does this work also with visual studio 2012?
                                  I have a base form with an empty TabControl on it, and in the inherited form I'm trying to place in the tabpages some controls, but it doesn't permit it.

                                • This is a limitation of the Visual Inheritance mechanism: item collections should not be modified on inherited forms/UserControls.
                                   We recommend that you modify collection properties (i.e. tab pages) at runtime to exclude possible problems. Please refer to the following article for additional information:
                                  Visual inheritance support for complex controls

                                You must  log in  or  register  to leave comments

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners