|117655||Nov 24,2014 12:55 PM UTC||Nov 25,2014 09:13 AM UTC||WinForms||1|
Thank you for your interest in Syncfusion products.
If you want to change the header style of row and column in a grid at run time, you can use the “StyleInfo” property. By using this property you can set the header appearance of a grid. Please refer the below code,
private void button1_Click(object sender, EventArgs e)
this.gridControl1.BaseStylesMap["Header"].StyleInfo.BackColor = Color.SkyBlue;
this.gridControl1.BaseStylesMap["Row Header"].StyleInfo.BackColor = Color.SkyBlue;
Please let me know if you have any concerns.
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.
or the page will be automatically redirected to sign-in page in 10 seconds.