How to pre-set a Tab on a viewmodel if TabView items are xaml-defined #827
Unanswered
XamMattia83
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have a tabview with Items defined in XAML. I need to use SelectedTab property in Two-Way binding mode.
But in this way, when the view model is initialized the SelectedTab become null, then the TabItem content is not visible.
Since the tabview is not bindable and "Tabs" property non accessible (since my items are wrote in the xaml page) how can i set the tabItem in the view model?
Thanks all
Beta Was this translation helpful? Give feedback.
All reactions