I want to rename a WPF Control in XAML and want all References in C# Code-behind to be renamed. Like I can do in class files with F2.
A free solution would be nice. I know that ReSharper does the Job, but ReSharper is not free.
If this is possible, how do I do it?
3 solutions for you:
If you use the Refactor Rename command in the C# code, it will rename it in XAML also.
Edit menu
> Refactor
> Rename
, at least in VS2015
Unfortunately this same command doesn't work from XAML (it does nothing).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With