Hi,
I am using xamTabControl. I wanted to stop user navigating to other tabitem in tabcontrol.
Ex. If I am in "Tab1" and user is doing some operation. If user will click on the "Tab2", I will show a confirmation message. If user says "yes" I will navigate to "Tab2", else I will retain in "Tab1".
Could any one please let me know, how to achive this?
Thank You,
Regards,
Ritesh
Hello Ritesh,
You could probably handle the ExecutedCommand event and see if the command that is currently executing is TabControlCommands.SelectNextTab or TabControlCommands.SelectPreviousTab and cancel it.
Thank you for the answer. But the answer did not work for me.
I handled the Execute Command event as below
private
e)
but the problem is event is not executing.
I have give an break point there, in the event, break point is not firing.
Thankx.