我有改变Infragistics的颜色的要求我已经创建了一个新的ultracheckeditor并且当我尝试将ultracheckeditor的背面颜色更改为面板颜色时添加到面板我无法更改颜色
appearance1.BackColor = System.Drawing.Color.Transparent;
appearance1.BorderColor = System.Drawing.Color.Transparent;
this.ultrabutton.Apperance=apperance1;
您必须使用Appearance属性并确保Use Themes属性为False:
ultraButton1.UseOsThemes = DefaultableBoolean.False;
ultraButton1.Appearance.BackColor = Color.Aqua;
该问题是由于通过将UseAppStyling设置为false而在容器中使用Appstyling
this.ultrabutton.UseAppStyling =false;