Visual Studio massive renaming of controls in WPF project

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-04-01T04:06:48Z Indexed on 2010/04/01 4:13 UTC
Read the original article Hit count: 269

Filed under:
|

I have a scene in my WPF project with about 2000 different user controls:

<local:MyControlType x:name="aaka4sn9f" />
<local:MyControlType x:name="aaks22nf_1" />
<local:MyControlType x:name="aa66s2f_2" />

and so on down the screen...

Is there a way to rename all of these controls using Visual Studio (and possibly a regex) to be:

<local:MyControlType x:name="myControl1" />
<local:MyControlType x:name="myControl2" />
<local:MyControlType x:name="myControl3" />

??

Thanks a lot!

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about wpf