We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabControlExt visual styles

Thread ID:





77036 Oct 9,2008 05:40 AM UTC Oct 10,2008 09:45 AM UTC WPF 2
Tags: Tools
Devon Dorrity
Asked On October 9, 2008 05:40 AM UTC

I am having some trouble finding documentation for setting the visual style of the tabcontrolext. I was wanting to use the office 2007 blue style.

Chad Young
Replied On October 9, 2008 03:13 PM UTC

use the following property in your xaml.


I have a property on the window for the visual style and then bind controls to that property including the window itself. Then you only have to change the style once and all your elements change.

In that case I have the these properties on the elemtns I want to affect:

1.) DataContext="{Binding Path=VisualStyle, ElementName=mainRibbonWindow, Mode=OneWay}"

2.) shared:SkinStorage.VisualStyle="{Binding}"

You'll have to implement the INotifiyPropertyChanged handlers if you want to change it dynamically.

Balavasanth [Syncfusion]
Replied On October 10, 2008 09:45 AM UTC

Hi Devon,

We really thank Chad Young for sharing his knowledge with us.

Let us explain clearly about SkinStorage logic. If you set SkinStorage for specific control, skin will be applied automatically for all its children elements. For example, If you set SkinStorage for a WindowElement(That is the root element of your application), you do not want to set SkinStorage explicitly for internal elements of the Window. Because. WPF resource lookup logic will take from its parent element. If you do not want to apply the parent element's visual style for its child element, you should set SkinStorage visual style explicitly for your child element. For instance you can set the skin Storage as Office2007 Blue as,

using XAML

Using C# Code:

SkinStorage.SetVisualStyle(TabControlExt1, "Office2007Blue");

Please let me know if you have any questions.


Thanks for your interest in Syncfusion products.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon