Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • I have an MDI WinForm application and each window can be in a "loading" stage in its own background thread so I wanted to display the new WaitForm with the SplashScreenManager on top of that child form. This however resulted in a form which was always visible so I though I might skip the SplashScreenManager and just place the ProgressPanel on PanelControl in the childform and hide/show the Panel.


                                    This worked out quite nicely but I really liked the Gradient top on the WaitForm - how can I draw the PanelControl so it follows the selected skin but has that Gradient look and feel to it?


                                    Best regards;

                                    Stefan

                                You must  log in  or  register  to leave comments

                                1 Solution

                                1

                                Hi Stefan,

                                Thank you for contacting us.

                                I suggest you take a look at the GroupControl control. This control is a PanelControl descendant and allows you to display a frame around controls with or without a caption.


                                We look forward to your feedback once you’ve had the opportunity to try this solution.

                                • But that one does not have this "gradient" top as the WaitForm has.

                                • Hi Stefan,

                                  If I understand you correctly, you wish to display the Panel (GroupControl) instance with the same background as the WaitForm instance in the skinned application.

                                  In this case, define the Panel control properties in the following manner:

                                  panelControl1.LookAndFeel.UseDefaultLookAndFeel = false;

                                  panelControl1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;

                                  Skin skin = DevExpress.Skins.CommonSkins.GetSkin(DevExpress.LookAndFeel.UserLookAndFeel.Default);

                                  panelControl1.Appearance.BackColor = Color.White;

                                  panelControl1.Appearance.BackColor2 = skin.Colors["Control"];

                                  panelControl1.Appearance.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;


                                  If this solution does not meet your requirements, would you please illustrate them with some sample.

                                • Perfect ! Thanks!!

                                • You are welcome!

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com 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.

                                Your Privacy - Legal Statements

                                Copyright © 1998-2013 Developer Express Inc.
                                ALL RIGHTS RESERVED
                                All trademarks or registered trademarks
                                are property of their respective owners