******BackColor property does not work for XtraUserControl and PanelControl

this.panelControl1.LookAndFeel.UseDefaultLookAndFeel = false;
this.panelControl1.LookAndFeel.UseWindowsXPTheme = true;

-----------------------------------------------------------------

Hello,

In order to use a custom backcolor you will have to switch off the skinning paint scheme of the PanelControl.

Please refer to the following Support Center topic: BackColor property does not work for XtraUserControl and PanelControl

You may also want to have a look into the attached sample project.

Hope this helps,
Holger

 

原文地址:https://www.cnblogs.com/luoyaoquan/p/2258540.html