摘要:
要设置的控件名.Background = new SolidColorBrush(Color.FromArgb(80, 230, 230, 230));SolidColorBrush可以换成其他的brush 视各自需求而定int rows=(offset + daysInMonth + lastoffset) / 7; for (int i = 0; i < rows; i++) { WeekOfDaysControls weekRowCtrl = new WeekOfDaysControls(); ... 阅读全文