Skip to content
Discussion options

You must be logged in to vote

Views are normally Windows (which are shown using .ShowWindow() or .ShowDialog() using the IWindowManager), or UserControls (which are shown inside a ContentControl. You could probably have a view which is a Page, but I can't think of a situation where that would be useful.

For a TabControl, the recommended way is documented here. The ShellViewModel owns a collection of child ViewModels (one per tab), and the ShellView binds those to tabs through a templated ContentControl.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mwdpb
Comment options

Answer selected by mwdpb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants