title: Dynamically Assigning the Style to the TabItem Control
body: <p>I have a style defined in App.xaml file "tabControlStyle". How can I assign this style to my dynamically created TabItem control. </p>
  
  <pre><code> TabItem item = new TabItem();               
  
  
  
                  item.Header = String.Format("Item {0}", i);
                  documentTab.Items.Add(item);
  </code></pre>