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?

贡献者指南