This is a migrated thread and some comments may be shown as answers.
Column Chooser Backcolor
2 Answers 4 Views
This is a migrated thread and some comments may be shown as answers.
pierre-jean
Top achievements
Rank 1
Veteran
Iron
pierre-jean asked on 25 Jun 2020, 03:04 PM

Hello

I am trying to modify programmatically the back color of the Grid Column Chooser.

I have tried setting the backcolor on the columnChoosercreated Event but I had no success

Thanks in advance for any advice on the matter

Pierre-Jean

2 Answers, 1 is accepted

Sort by
0
Nadya
Telerik team
answered on 26 Jun 2020, 11:23 AM

Hello Pierre-Jean,

In order to change the BackColor of the ColumnChooser in RadGridView please refer to the following code snippet:

this.radGridView1.ColumnChooser.ColumnChooserControl.ColumnChooserElement.BackColor = Color.Green;
this.radGridView1.ColumnChooser.ColumnChooserControl.ColumnChooserElement.GradientStyle = GradientStyles.Solid;

I hope this helps. If you have other questions do not hesitate to contact me.

Regards,
Nadya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
pierre-jean
Top achievements
Rank 1
Veteran
Iron
answered on 26 Jun 2020, 12:17 PM

Hello Nadya

thanks a lot exactely what I was looking for

It works perfectly

Best Regards

Asked by
pierre-jean
Top achievements
Rank 1
Veteran
Iron
Answers by
Nadya
Telerik team
pierre-jean
Top achievements
Rank 1
Veteran
Iron
Share this question
or