Rename a control in XAML

I want to rename a WPF control to XAML and want all links in C # Code-behind to be renamed. How can I do in class files with F2.

A free solution would be nice. I know that ReSharper is doing the job, but ReSharper is not free.

If possible, how to do it?

+8
c # visual-studio visual-studio-2013 wpf
source share
1 answer

3 solutions for you:

  • Open your solution in Expression Blend for Visual Studio (bundled with VS2013) and rename the control using the Properties window. Blend is very good at renaming XAML elements.
  • Just rename it and fix the compilation errors manually.
  • If you are sure that your management name is unique, perform a search and replace operation.
+3
source share

All Articles