Hi,
Is it possible to style the radribbontab without using expression blend? I'm trying to change the colour of the part circled in red in the attached image.
Thanks.
If you can't use Blend to extract the default ControlTemplate of our controls, you can instead take their style resources from the Themes.Implicit folder under the Telerik Silverlight installation directory.
This folder contains the RadControls style resources for all Telerik themes. If you navigate to the [Telerik Installation Directory]\RadControls for Silverlight Q2 2013\Themes.Implicit\OfficeBlack\Themes folder you'll should find multiple ResourceDictionaries - one per Telerik assembly. The RibbonView style resources for the default OfficeBlack theme are located in the Telerik.Windows.Controls.RibbonView.xaml file. Once you open the file you can take only those resources you need to modify and paste them in your solution or instead include the entire dictionary in your project and modify parts of it.
You can examine the ImplictStyle section of our documentation for further information about the Themes.Implicit folder and the ResourceDictionaries it provides.
Getting back to your question, if you need to change the background of the RibbonTabs content, then you'll have to edit the default RadRibbonTab.ControlTemplate. The template structure of a RibbonTab is described in our documentation. Basically you need to change the background of the OuterBorder element as it represents the background and the outer border of the RadRibbonTab.Content.
I attached a sample solution demonstrating how to apply a LightGreen background on the RadRibbonTab content part. Please have a look at it and let me know if it helps.
Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>