title: How to set Key of a Tabpage programatically?
body: <p>How to set Key for a tabpage</p>
  
  <p>I have a tabcontrol1 in which i am adding a tabpage programatically.</p>
  
  <pre><code>TabPage tabpagep1=new TabPage("");
  tabpagep1.Name = "tp1";
  tabpage1.text="netabpage1"
  tabcontrol1.TabPages.Add(tabpagep1);
  </code></pre>
  
  <p>How can I set the KEY of the tabpage1?</p>