Ticket B201967
Visible to All Users

Slow first call of window with devexpress controls on it

created 14 years ago

Use this question to get problem description:
http://stackoverflow.com/questions/6199093/devexpress-controls-for-wpf-load-time
It seems that after first load devexpress "resources"(themes, assemblies) are cached and the applications calls their instances much faster over time. Please show how to preload all needed resources during startup(while showing splash screen for example).
Thank you.

Answers approved by DevExpress Support

created 14 years ago (modified 12 years ago)

Hello Tea,
Thank you for the question. We have attached a sample to the following thread: How to use the DXSpashScreen window while loading the main window. Please try it, this sample should help you. I am looking forward to hearing from you.
Thank you, Marina

    Show previous comments (3)
    DevExpress Support Team 14 years ago

      Welcome!

        Hi Marina,

        is there any chance to do the loading of themes etc. in a seperate thread?

        My problem is, that my application "hangs" for 2 or 3 seconds while show/hide that testform.

        Thank you for your help!

        Alexander E (DevExpress) 12 years ago

          Hello,
          I am afraid that showing the test form in a separate thread will not help speed up the first loading, because the main form should be opened after the test form.
          In fact, each window in WPF already uses a separate UI thread, so in your case I can only suggest you create several test forms and open them simultaneously.

          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.