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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:42:15+00:00 2026-06-06T09:42:15+00:00

I have a WPF form which contains 30×30 grid where each grid cell is

  • 0

I have a WPF form which contains 30×30 grid where each grid cell is a ComboBox. ComboBox values and selected value are bound from DataContext. The problem is it goes very slow. I have reworked the form so that it displays textboxes instead of comboboxes (and TextBox is converted to ComboBox on mouse enter) and it work instantly now.

Why are ComboBoxes so slower? Are there any ways to improve massive binding of ComboBoxes?

  • 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-06-06T09:42:17+00:00Added an answer on June 6, 2026 at 9:42 am

    ComboBox doesn’t use virtualization(VirtualizingStackPanel) by default, you can change the panel used by the control in a very simple way:

    <ComboBox ItemsSource="{Binding}">
        <ComboBox.ItemsPanel>
            <ItemsPanelTemplate>
                <VirtualizingStackPanel />
            </ItemsPanelTemplate>
        </ComboBox.ItemsPanel>
    </ComboBox>
    

    Ref: Improving Combobox Performance through UI Virtualization

    That helps a lot in improving performance in case a ComboBox is having thousands of items, not sure how much helpful it will be in your case as having 1000 comboboxes is a lot for UI.

    You can also try to put these comboBoxes in a Virtualized panel(like ListBox or directly using VirtualizedStackpanel).

    Another thing you can try is to make your ComboBox ItemSource bindings asynchronous using IsAsync property.

    I hope you are using ObservableCollection as your ItemSource;

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

Sidebar

Related Questions

I have WPF Form which has many buttons with the same code. Appearance of
I have a WPF form with a combobox and a textbox (both are databound
(learning c#) I have a C# WPF application which when a certain form is
I have a WPF window which has a ItemsControl which contains list of User
I have a WPF form with a ListBox of items bound to a method
I have an interesting problem. I've created a WPF UserControl which contains a button
I have a WPF form with which I would like to have arrow-key navigation.
I have been tasked with adding a combobox to an already existing WPF form.
I have a WPF form where I'm trying to make a simple input form.
I have a WPF form that uses ClientLogin to log a user into their

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.