dotnet / dotnet/wpf

WPF Application (.Net Framework 4.8): Keyboard delay in DataGrid when surrounding Border has a shadow.

Open
#4,262 1 comment 1 reaction 0 assignees View on GitHub
.NET Framework
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/WPF-Application-Net-Framework-48:-Ke/1362581)._

---
[severity:It's more difficult to complete my work]
My DataGrid contains 32 rows with 32 check boxes. The DataGrid is the child of a border with a shadow.
When I click a check box and hit a cursor key (e.g. Up), then my application hangs for 10 seconds (Depending on number of check box columns).
When I remove the shadow, everything's ok.

XAML:
```






... 30 more check box columns




```

Code Behind:

```
InitializeComponent();
testDataGrid.ItemsSource = new bool[32]; // Any array to create rows
```

[CheckboxColumnTest.zip](https://aka.ms/dc/file?name=B6508572ff87f4ffe9283a70e9328df69637508786763633100_CheckboxColumnTest.zip&tid=6508572ff87f4ffe9283a70e9328df69637508786763633100)

---
### Original Comments

#### Feedback Bot on 3/9/2021, 07:11 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

---
### Original Solutions
(no solutions)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.