Hi,
I have a style defined in App.xaml file "tabControlStyle". How can I assign this style to my dynamically created TabItem control.
TabItem item = new TabItem();
item.Header = String.Format("Item {0}", i);
documentTab.Items.Add(item);