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 191863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:22:39+00:00 2026-05-11T16:22:39+00:00

Are there in general any known performance issues in WPF related to grid column

  • 0

Are there in general any known performance issues in WPF related to grid column resizing?

I have an application where I need to do some particular things in a column, but for all the different solutions I find the column resizing gets slow. This applies when I have typically more than 1000 elements in my list, but I assume this isn’t too much for WPF..? So; the general question is whether you’ve experienced slow column resizing, and whether you’ve found solutions for this? What was causing it?

Some more details about my particular case:

I can have two different things in my columns; ComboBox or TextBlock. The ComboBox should fill the whole column and follow on column resize, and clicking an empty area of a column with a TextBlock should select the row. This is where the problem is. For all solutions I have to this the column resizing gets slow. The only way to make resizing smooth that I’ve found is by adding a StackPanel outside them with Orientation=”Horizontal”, but with this I’m unable to achieve the styles described above.

Here are some observations:

  • Adding style HorizontalContentAlignment=”Stretch” to the items of the list makes the ComboBoxes stretch and the TextBlocks clickable, but also column resize slow.
  • Adding Background=”Transparent” to either the StackPanel or the elements that are inserted inside them solves the problem too, but makes resizing slow.
  • Adding an outer StackPanel with property Orientation=”Horizontal” makes resizing smooth, but I’m unable to apply the styles as described.
  • 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-11T16:22:39+00:00Added an answer on May 11, 2026 at 4:22 pm

    Have you tried virtualizing the elements in the ListView? When you are virtualizing, the virtualizing panel only creates the visuals for the elements that are in the view. This allows you to have large numbers of items without performance issues like you mention. See VirtualizingStackPanel for more details. Also The Layout System. You can create your own virtualizing panels. If you look up “virtualizing+wpf” on google you’ll find lots of hits for virtualizing Canvases, WrapPanels, and etc.

    I hope this helps.

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

Sidebar

Related Questions

Is there any widely known general purpose library for standard C. I'm thinking of
Is there any performance advantage of using content type application/json sending an object serialized
In designing any desktop applications, are there any general rules on how much memory
Are there any handy general items you put in your .procmailrc file?
Is there any easy/general way to clean an XML based data source prior to
Is there a general rule of thumb to follow when storing web application data
Is there a general way to implement part of an application with JavaScript and
Is there a general, cross RDMS, way I can have a key auto generated
I was wondering if there are any general guidelines for when to use regex
Are there any algorithms that you can continue hashing from a known hash digest?

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.