How to detect tab selection changed event in TabControl

I tried adding handler to handle the click event in the TabControl, it works but only when you use the mouse to select the tab.  Since there are other means to select a tab in a tab control liked using the arrow keys or mouse.  Is there a single event that I can capture for tab selection changed

Answer this question

How to detect tab selection changed event in TabControl

  • Dan Handevik

    Thanks, it works.  For reason, I thought I've tried it and it didn't work.
  • BradB1976

    SelectedIndexChanged is in most controls, so always look for that one!  Some other controls have more specialized Changed Events that will be more specific to that Control.

    Glad you got it  :) 

  • Nick Waanders

    Did you try the SelectedIndexChanged Event
  • How to detect tab selection changed event in TabControl