RB
Rajasekar B
Syncfusion Team
March 1, 2010 11:55 AM UTC
Hi,
In SelectedIndexChanged event,you can find whether the tab is selected by mouse or through code using the below workaround:
int i = this.tabControlAdv1.Renderer.HitTestTabs(this.tabControlAdv1.PointToClient(MousePosition), false);
This will return selected index. If the value of i is -1 then it indicates it is selected through code. If it returns exact selected index then it is selected by mouse.
Please let me know if this helps you.
Thanks,
Rajasekar