Rename a project item
In the Projects panel, do one of the following:
Right-click the item that you want to rename, click Rename, and then type the new name. The file name extension is included automatically.
Click the name of the item you want to rename, click the name again to make it editable, and then type the new name.
If the file is an asset, such as an image or video clip, it might inadvertently be inserted into the artboard if you use this option (clicking the name, then clicking it again).
Renaming files might cause errors such as "Could not find file". To fix this, make the name change everywhere that the file is referenced. Also, it is not possible to change file name extensions (such as .xaml) in the Projects panel because changing file name extensions can lead to application errors.