How to set specific tan in runtime to be active due to error and set it border and text to be red;
Thanks,
1 Answer, 1 is accepted
0
Yana
Telerik team
answered on 11 Mar 2022, 11:10 AM
Hi Daniel,
TabView provides selection feature - you can either set TabView's SelectedItem property as shown in the example here: TabView Selection.
As to the styling of the selected TabViewItem, please refer to the following thread where I provided an example how to apply HeaderItemStyle and change TextColor and BorderColor for Selected visual state:
For now you cannot change the border of a tab item at runtime - the appearance of the tabs is controlled through the HeaderItemStyle - you can differentiate from Selected and normal state of the tabs. Could you please elaborate a little bit more on the exact use case/scenario you have?