dotnet/roslyn

Rename feature in XAML within VS2022

Open

#77.894 geöffnet am 28. März 2025

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (4.257 Forks)batch import
Area-IDEhelp wanted

Repository-Metriken

Stars
 (20.414 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

1.I cannot rename a button named by x:Name in XAML. Even if I change the x:Name of the button, the reference in the code - behind doesn't change synchronously.

2.When binding to an object data source, if I rename some property names, the references to those properties in XAML don't change synchronously.

How can I fix this in VS2022?

Contributor Guide