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

TabControlAdvWorkspace and GroupBarAdvWorkspace

Thread ID:





89478 Aug 25,2009 07:11 PM UTC Aug 27,2009 01:27 PM UTC ASP.NET Web Forms (Classic) 1
Tags: Tools
Philip Loyer
Asked On August 25, 2009 07:11 PM UTC

Hi I'm fairly new to using Syncfusion controls, we recently purchased them and I am trying to get something working but having a heck of a time. I am using the CAB add-on and trying to put two workspaces that are included into my shell application. While they both functionally seem to work fine I cannot seem to get the visualstyles I select in the designer to actually make it through all the way to run time. When i run the application the visual styles i selected seem to be ignored and it uses im guessing the default. I have tried this with Themes enabled and disabled for each control so that dosent seem to be it. Any ideas would be greatly appreciated, thanks.

Phil Loyer

Mano J [Syncfusion]
Replied On August 27, 2009 01:27 PM UTC

Hi Phil,

You should set the visual style in the GroupBar SmartPartInfo and TabControlAdv SmartPartInfo as shown below.

Syncfusion.CAB.WinForms.SmartPartInfos.GroupBarSmartPartInfo gpSmartPartInfo = new Syncfusion.CAB.WinForms.SmartPartInfos.GroupBarSmartPartInfo();
gpSmartPartInfo.BarDisplayText = "GroupBar Item 1";

// set the visual style
gpSmartPartInfo.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Office2007;



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