Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3393152
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:01:00+00:00 2026-05-18T04:01:00+00:00

We just ported our WinForms application to WPF. However, performance decreased dramatically. We have

  • 0

We just ported our WinForms application to WPF.
However, performance decreased dramatically.

We have a User Interface which consists of about 200 UserControl.
Each UserControl is defined by a DataGrid (= 10 columns and 3-15 rows) as well as a Panel which hosts about 10 Buttons.

They are all hosted in a ScrollViewer.

(Please don’t recommend to change the UI. I don’t have any influence on that. The customer wants to be able to scroll to any of those UserControls.)

Since we ported the whole application to WPF the startup time increased by 100%. Using WinForms we experienced startup times of 15sec whereas now, we are struggeling with 30s.

Do you have any recommandations or ideas how to improve the loading time of a UI which consists of identical UserControl where simply each UserControl is bound to a different ViewModel? (Maybe some fast cloning of the UserControl instances or sth similar?)

I am using static Resources whereever possible.
I avoid Grids and Auto Sizing whereever possible.

Hope someone can share some thoughts on that one.

Thanks,
TH

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:01:01+00:00Added an answer on May 18, 2026 at 4:01 am

    My final solution is a custom Virtual Panel which supports items of dynamic height.

    See http://rhnatiuk.wordpress.com/2006/12/13/implementing-a-virtualized-panel-in-wpf/ on how to create virtual panels.

    My UserControls support two states:
    – Initial
    – Loaded

    When the application is in idle the virtual Panel asks the Controls to change to the “Loaded” state. This loads the expensive UserControl.

    Like that everything is lazy loaded and as soon as the user stops scrolling the visible items are loaded.

    Maybe that helps others that are in the same sitaution.
    TH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just ported several of our home-made Outlook COM-addins from Delphi 2007 to
I have a C# application which needs to be ported to several Smartphones. Monotouch
I'm working on a web forms application which intends to be ported over to
just a quick question: I am a CS undergrad and have only had experience
Just how much slower are events? I have written a streaming XML parser (that
I have an ASP .NET application that connects to an Oracle or a SQL
Inside of : features/support/env.rb require 'cucumber/rspec/doubles' I just ported my project to a new
I'm currently implementing a Monotouch application that will eventually be ported to Monodroid. The
I'm working with a client that wants the URLs in our web application to
Scott Gu just posted about a new set of charting controls being distributed by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.