Groupcontrol - Backcolor does not change

Asked

Viewed 41 times

1

I’m using a GroupControl from Devexpress 16.1, but when trying to change the background color (backcolor) it still has the default color, does anyone know why? or if I’m doing it wrong?

        // 
        // groupControl2
        // 
        this.groupControl2.Appearance.BackColor = System.Drawing.Color.DarkRed;
        this.groupControl2.Appearance.Options.UseBackColor = true;
        this.groupControl2.Location = new System.Drawing.Point(346, 314);
        this.groupControl2.Name = "groupControl2";
        this.groupControl2.Size = new System.Drawing.Size(308, 156);
        this.groupControl2.TabIndex = 60;
        this.groupControl2.Text = "Fiscal";

inserir a descrição da imagem aqui

1 answer

2


Next, to use backcolor, you need to set the property LookAndFeel.UseDefaultLookAndFeel as false and the property LookAndFeel.Style for Flat.

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.