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. Image for the cookie policy date

Applying themes on Windows Controls

Hi Team,

My objective is to apply Black theme to a FlowLayoutPanel's scrollbars.

The flowLayoutPanel is wrapped in a usercontrol which is made dockable using syncfusion's dockmanager.

I have applied Office2007 Black Theme to the dockmanager, and the dock panel's border is black now, but the flowlayoutpanel's scrollbars still have that blue xp theme when they appear on resizing the form. This can be reproduced in the sample attached.

Thanks & Regards
Abhishek Dudeja



SyncFusionDockingTest_acf096ee.zip

1 Reply

AA Arun A Syncfusion Team July 6, 2011 04:52 AM UTC

Hi Abhishek,

Thanks for your interest in Syncfusion product.

Default Control did not support colorscheme in it. if you wants to add color scheme,use the ScrollerFrame Control.

you can achieve the requirement using the following codes snippet,

this.scrollersFrame1.AttachedTo = fpnl;

this.scrollersFrame1.VisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Office2007;

this.scrollersFrame1.OfficeColorScheme = Syncfusion.Windows.Forms.Office2007ColorScheme.Black;

Please refer the following UG for further details.

http://help.syncfusion.com/ug_92/User%20Interface/Windows%20Forms/Tools/default.htm?turl=Documents%2F3156scrollersframe.htm

[Sample Link]

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=SampleBannerTextInfo-763011768.zip

Please let us know if you need further assistance.

We are glad to help you out.

Regards,
Arun A.



Loader.
Live Chat Icon For mobile
Up arrow icon