We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to detect if i select the left navigation button or the right navigation button in Tab NavigationControl

Good Day,

Is there a way where i can detect if i select the left navigation button or the right navigation button in TabNavigationControl? i know that the selectionchanging event in TabNavigation is triggered when using navigation button or tab strip. Is the e.OldItem or e.NewItem the answer? if it is how can i use it?

Thank You and More Power.

Regards,
Joshua Reyes

1 Reply

VJ Victory Jessie Selvam D Syncfusion Team October 23, 2015 08:39 AM UTC

Hi John,

Thank you for using Syncfusion Products.

We have prepared a sample to detect whether the left or right navigation button is selected. In the sample, we have detected it using the e.OldItem and e.NewItem index in the SelectionChanging event. You can download the sample from the following link:

Sample: TabNavigation

Regards,
Jessie

Loader.
Live Chat Icon For mobile
Up arrow icon