Unplanned
Last Updated: 11 Mar 2022 19:47 by ADMIN
ADMIN
Stefan Nenchev
Created on: 21 Jul 2017 07:46
Category: TabView
Type: Feature Request
10
TabView: Introduce events related to the Tab selection
We should consider adding one or more events related to the selection of the TabView control. 
5 comments
ADMIN
Lance | Senior Manager Technical Support
Posted on: 11 Mar 2022 19:47

Hello Ryan,

Correct, this is still marked as Unplanned. The Status will change to "In Development" if the team starts working on it.

You can increase the demand for this feature by adding your vote. In the meantime, you can easily get the exact same functionality with the PropertyChanged event:

private void MyTabView_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
    if (e.PropertyName == nameof(RadTabView.SelectedItem))
    {
        MyItem thing = MyTabView.SelectedItem as MyItem;
    }
}

Regards,
Lance | Manager Technical Support
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Ryan
Posted on: 11 Mar 2022 18:33
Still no plan on for this? 
ADMIN
Stefan Nenchev
Posted on: 14 May 2018 08:20
Hi,

We will consider introducing such events, in the meantime, there is a straight-forward approach to achieve your requirement by subscribing to the PropertyChanged event of the RadTabView and checking whether it is the SelectedItem that is affected. For example:

private void TabViewGettingStartedXaml_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            if (e.PropertyName == "SelectedItem")
            {
                Debug.WriteLine(((sender as RadTabView).SelectedItem as TabViewItem).HeaderText);
            }
        }

This should work for you. 
Jannik
Posted on: 10 May 2018 08:59
I agree, a SelectionChanged would be nice to have :)
Jeffrey
Posted on: 01 May 2018 16:49
I agree...:)