Generally there are two techniques you can employ to accomplish your task.
First approach is to use code behind and attached to events in order to make the changes when user interacts with the component. Following code snippet declares a RadTabControl with attached event handler.
The handler bellow gets the event and changes the FontWight and Foreground of the selected RadTabItem. You can notice there is a Dispatcher.BeginInvoke used to verify that code inside it will run in the main visual thread.
sender, Telerik.Windows.Controls.SelectionChangedEventArgs e)
RadTabItem selectedItem =
selectedItem.FontWeight = FontWeights.Bold;
RadTabItem unselectedItem =
unselectedItem.FontWeight = FontWeights.Normal;
However, I'm recommending you the second technique. Use templates and styles to declaratively describe visual behavior of the elements. This technique is far more customizable and flexible.
The following snippet show how to attach custom defined style to the RadTabControl.
I'm attaching an example illustrating the both approaches. Please take a look at it and let me know if it works for you.
All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items