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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Applying themes to grids at runtime?

Thread ID:





117656 Nov 24,2014 01:20 PM UTC Nov 25,2014 08:56 AM UTC Windows Forms 1
Tags: GridControl
Asked On November 24, 2014 01:20 PM UTC

How to apply/change themes to grid at  runtime?

Ranjan VijayKumar.

Muthukumar Kalyanasundaram [Syncfusion]
Replied On November 25, 2014 08:56 AM UTC

Hi Ranjan,


Thank you for your interest in Syncfusion products.


If you want to change the theme of grid at run time, you can useGridVisualStyles” property. By using this property you can set the theme of a grid. Please refer the below code,




private void button1_Click(object sender, EventArgs e)


   this.gridControl2.ThemesEnabled = true;

   this.gridControl2.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro;            



Please let me know if you have any concerns.



Muthukumar K



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.

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