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

  • SEARCH
  • Home
  • 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'm working with a client that wants the URLs in our web application to
One of our ASP.NET pages has a significant memory leak. After a process of
I am running the same AIR application under windows, linux and Mac OSX Windows
I already did a lot of research on this topic and have implemented a
Hey, I'm learning C# and just thought of a cool idea. Considering that a
Using the NuPack addin and installing the NInject MVC 3 package results in the
Crystal Reports 11 (craxdrt.dll 11.5.7.1048) Windows 7 I'm using Crystal Reports to export to
I'm working on a drupal website. I've been keeping an svn repository of my
Here is the following issue: If I am developing on a 32 bit machine

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.