TabItem in a separate XAML
If what you want to do is simply make the code more manageable then I would recommend defining each tab’s data in a user control, but still have the TabItem in the main tab control. Let’s assume that your original code was this: <TabControl> <TabItem Header=”Tab 1″> <Grid> <TextBlock Text=”Tab Data” /> </Grid> </TabItem> </TabControl> … Read more