dotnet/roslyn

Rename feature in XAML within VS2022

Open

#77,894 建立於 2025年3月28日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C# (4,257 fork)batch import
Area-IDEhelp wanted

倉庫指標

Star
 (20,414 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

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?

貢獻者指南