Share via


Find and replace (Windows Store apps)

You can use the Find feature in Code view to locate a specific string in your source code file.

For more information about XAML and Windows Store app development, see the XAML Overview topic on the Windows Developer Center.

To find and replace content in a source code file

  • With Code view selected in Blend for Visual Studio 2012, click one of the following on the Edit menu:

    • Find   To locate a specific word, string, or item in the XAML and to customize your search.

    • Find Next   To find the next instance of a word, string, or item in the XAML. You can also press F3 to find the next instance.

    • Replace   To find a specific word, string, or item in the XAML and replace it with another word, string, or item.

    Tip

    We recommend that you have previous experience working with your project type source code before you begin to edit your Blend projects in Code view. Editing code directly may result in parsing errors in your application that you will have to fix before Blend can correctly display your documents on the artboard in Design view.

    With this caution in mind, working between Design view and Code view can be an effective method for learning the basics of code.

    Tip

    You can make your search case-sensitive by selecting Match case in the Find or Replace dialog boxes, and you can also search up or down through the code file when you use Find.

See Also

Tasks

View an object or resource in source code (Windows Store apps)