C# RGB转Brush
C#中自定义一个Brush,使用Color赋RGB值给Brush:
dataGrid2.HorizontalGridLinesBrush = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 255, 255, 255));
dataGrid2.HorizontalGridLinesBrush = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 255, 255, 255));