Create new file pair
Right click the .xaml file and select copy
Select the project > Right click > Paste
You will now have a duplicate of the page and its .cs source code file with ” – Copy.xaml” as its name.
Right click the .xaml file and select Rename to rename both the files for the new page.
Update page code
Renaming the file pair won’t have caused the files class to have been renamed, so view the code.
Use find and replace to rename the class (probably 2 in 2 places)
Update the x:Class= class name