I have created a simple SplitView and I'm wondering if I can reuse the code in my
<SplitView.Pane>? It's pretty simple, just a few buttons, but I don't want to have to include the same code over and over again on my different pages.
Or is there a way to template the whole SplitView and just modify the
<SplitView.Content>on every page? I'd prefer to be able to be able to have the button handlers be global too so that I don't have the same 3 buttons coded in each page .cs file.
What would be the best way to do this?
EDIT: This is for a UWP Windows 10 app.