dotnet / dotnet/wpf

WPF losts the binding after some operation

Open
#9,349 1 comment 0 reactions 0 assignees View on GitHub
:mailbox_with_no_mail: waiting-author-feedback
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-losts-the-binding-after-some-operati/10689653)._

---
[severity:It's more difficult to complete my work]
Good morning,

I have encountered a problem and I can't seem to resolve it. I have tried everything but cannot bypass the issue. I have attached a video to show what happens.

To reproduce the error:

Open the XML file (you will find it in the attachments).
Select either line 1 or line 2 as many times as you want, and everything works.
Change the key, the first field in the top left corner.
Select the lines again, and you will notice that the selection no longer has any effect, and that an exception occurs after returning to a previously selected line.
If you click the "test" button in the toolbar, the error does not occur. This error is generated by the listview.

Thank you.
Attached there is also the solution and the
[LocalizzatoreRisorse.zip](https://aka.ms/dc/file?name=B9e3a717bf106435dafd76243f0a4dcee638548344547224501_LocalizzatoreRisorse.zip&tid=9e3a717bf106435dafd76243f0a4dcee638548344547224501)
[Stringhe it-IT - Copia.xaml](https://aka.ms/dc/file?name=B5c66b1d462024c1581fb38bd993f7550638548344702703776_Stringhe_it-IT_-_Copia.xaml&tid=5c66b1d462024c1581fb38bd993f7550638548344702703776)
[15-50-19.mp4](https://aka.ms/dc/file?name=B452ea892701546569783c161d709924d638548339894029236_15-50-19.mp4&tid=452ea892701546569783c161d709924d638548339894029236)

---
### Original Comments

#### Feedback Bot on 6/25/2024, 07:48 AM:

(private comment, text removed)

---
### 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.