Selection Changed
23 Feb 2018 / 1 minute to read
The SelectionChanged
event notifies when the selection is changed due to swiping or dynamically setting the SelectedIndex
property of SfTabView
.
tabView.SelectionChanged += SfTabView_SelectionChanged;
// Raised when selected index changed
private void SfTabView_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
var selectedIndex = e.Index;
}
Enable swiping
When the selection changed event needs to be restricted through user interaction, set the EnableSwiping
property of SfTabView
to false
.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page