<SplitView> <SplitView.Pane> </SplitView.Pane> <StackPanel> </StackPanel> </SplitView> 

With such a structure swears at StackPanel, they say

Cannot add content to SplitView

The application starts and works correctly, only the visual designer does not work, although the example is taken from the book. Can I fix this?

Need this for a menu one 2

  • And what do you want to achieve with this? SplitView has no content, so you can’t add it. - Pavel Mayorov
  • SplitView represents a container with two views; one that is typically used for navigation commands. So it is written in the textbook. - Sanych Goilo
  • So, what is next? He doesn’t have any content, only "two views" . - Pavel Mayorov
  • ... Sanych Goilo
  • Stop talking quotes from nowhere. Look better at the documentation - there is an example. - Pavel Mayorov

1 answer 1

 <SplitView> <SplitView.Pane> </SplitView.Pane> <SplitView.Content> <StackPanel> </StackPanel> </SplitView.Content> </SplitView>