Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumericUpDown and DataGridNumericUpDownColumn bad performance #4397

Open
Ifry opened this issue Apr 21, 2023 · 0 comments
Open

NumericUpDown and DataGridNumericUpDownColumn bad performance #4397

Ifry opened this issue Apr 21, 2023 · 0 comments
Labels

Comments

@Ifry
Copy link
Contributor

Ifry commented Apr 21, 2023

Describe the bug

When switching views with many NumericUpDown or DataGridNumericUpDownColumn controls, there is a significant delay.
When replacing DataGridNumericUpDownColumn with DataGridTemplateColumn that contain NumericUpDown inside (as can be seen in example repo) there is no such delay.

Steps to reproduce

Create two views with 150+ NumericUpDown elements and switch between them.
Virtualization helps to some extent, but there is still a noticeable delay.

Here is sample project that reproduces this issue for NumericUpDown and DataGridNumericUpDownColumn:
https://github.com/Ifry/NumericUpDownExample

Environment

MahApps.Metro version: v2.4.9
Visual Studio: 2022
Target Framework: .Net 7

Screenshots

SlowPerformanceExample

@Ifry Ifry added the Bug label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant