title: Calculating width of Tabs in TabControl (Windows Forms)
body: <p>I've been looking everywhere and it's bugging me because it looks like I'm the only one who has asked this before. How do you calculate the widths of a Tab in the Windows Forms <code>TabControl</code>?</p>
  
  <p>Each Tab that gets opened or created in my app will be of variable length and the Font and Font Size used in these tabs may also change at runtime.</p>
  
  <p><img src="https://i.stack.imgur.com/0gQKa.png" alt="enter image description here"></p>