title: C# TabControl - is it possible to "disable" individual TabPages?
body: <p>Is it somehow possible to disable one (or more) tabs of tab control? At some point I need to make user stay on the active tab and prevent him from leaving... I know I can disable the whole TabControl component, but that disables also all components on active tab...</p>
  
  <p>I also tried to use the Selecting method of TabControl:</p>
  
  <pre><code>private void TabControl_Selecting(object sender, TabControlCancelEventArgs e) {           
      e.Cancel = PreventTabSwitch;
  }
  </code></pre>
  
  <p>This works, prevents user from switching (if PreventTabSwitch==true), but since all tabs look active and just don't react it's confusing...</p>
  
  <p>There is no Enabled property for individual tab pages, so I don't know what else to do...</p>
  
  <p>Thanks a lot for in advance for all tips.</p>