I'm experimenting with WPF applications. Using the designer I created a TabControl with two TabItems that are set up in XAML. Then I wanted to see about creating a third TabItem in C# code and attaching it to the TabControl using code instead of XAML. Here is what I have so far.
However, at this point, I can't find any method or property in TabControl that lets me append the new TabItem. Is there a way to do this in C# code?