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
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
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货