I have a situation where I bind my tabs through a MVVM patterns. The binding source is loaded async AFTER the TabControl is loaded. The tabs are loading correctly but I want the first tab to be selected when I got at least one tab in the TabControl or when I finish loaded.
My current workaround is to have SelectedIndex (int) in my binded View-Model set to 1 and bind it to the SelectedIndex in the TabControl. Is there any other way of doing it more clean? Perhaps adding a property that force at least one tab to selected?
Thanks
My current workaround is to have SelectedIndex (int) in my binded View-Model set to 1 and bind it to the SelectedIndex in the TabControl. Is there any other way of doing it more clean? Perhaps adding a property that force at least one tab to selected?
Thanks