I am trying to create a user interface using XAML. However, the file is quickly becoming very large and difficult to work with. What is the best way for splitting it across
You can also create a Page, instead of a UserControl
. A Page
can be hosted by the Window
or by a Frame. Search for the pros and cons of a Page vs UserControl. It depends a bit on your requirements with respect to navigation which will suit your needs best.
Here is an example of using a Page in a Frame.