日期:2014-05-18  浏览次数:20764 次

100分,开源控件OutlookBar控件改不了栏目的背景颜色!
OutlookBar控件改不了栏目的背景颜色,只能改item的颜色

OutlookBar outlookBar1 = new OutlookBar();

OutlookBarBand outlookShortcutsBand = new OutlookBarBand("销售管理");//"销售管理"的背景颜色改不了
outlookShortcutsBand.Items.Add(new OutlookBarItem("订单管理", 0));
outlookShortcutsBand.Items.Add(new OutlookBarItem("客户管理", 1));
outlookShortcutsBand.Background = SystemColors.Green;//只能改item的颜色
outlookShortcutsBand.TextColor = Color.White;
outlookBar1.Bands.Add(outlookShortcutsBand);


控件下载地址:http://files.cnblogs.com/wuhuacong/UtilityLibrary.rar


------解决方案--------------------
http://www.cnblogs.com/wuhuacong/archive/2009/07/10/1520148.html

看demo吧 有些东西 自己多摸索 搜搜帮助文档

------解决方案--------------------
加一句

UtilityLibrary.General.ColorUtil.VSNetBackgroundColor = Color.Red;//设置为红色