Column Chooser Backcolor

3 posts, 0 answers
  1. pierre-jean
    pierre-jean avatar
    143 posts
    Member since:
    Apr 2011

    Posted 25 Jun Link to this post

    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. Nadya
    Admin
    Nadya avatar
    380 posts

    Posted 26 Jun Link to this post

    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.
  3. pierre-jean
    pierre-jean avatar
    143 posts
    Member since:
    Apr 2011

    Posted 26 Jun in reply to Nadya Link to this post

    Hello Nadya

    thanks a lot exactely what I was looking for

    It works perfectly

    Best Regards

Back to Top