dotnet/roslyn

Rename feature in XAML within VS2022

開放

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

 (2 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (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?

貢獻者指南