Unable to change backcolor TabPage using DevExpress WinForms XtraTab

I am using the DevExpress WinForms XtraTab v11.2 control and I cannot change the background color of the tab. He is stuck on transparent. I set the colors in XtraTab AppearancePage.PageClient and there was no effect.

If you select the standard XtraTabControl, you will get two tabs that are white in the main area. I want this area to be gray.

+3
source share
2 answers

In addition to what you are doing, set the XtraTabControl PaintStyleNameto Standard or PropertyView or one of other styles other than Default to get the look you want:

XtraTabControl PaintStyleName:

enter image description here

+5

, , , .

, :

1) devexpress SkinEditor .

2) false, , , ( , , , ).

this.xtraTabControl1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;
            this.xtraTabControl1.LookAndFeel.UseDefaultLookAndFeel = false;
            this.xtraTabControl1.TabPages[0].BackColor = System.Drawing.Color.Gray;
0

All Articles