Hi,I have the following code for my datagrid backcolor.But I would like my gray color to be darker 20% then the original gray color,is it we can do it?
Code:PODetailsGrid.AlternatingItemStyle.BackColor = Color.Gray
Printable View
Hi,I have the following code for my datagrid backcolor.But I would like my gray color to be darker 20% then the original gray color,is it we can do it?
Code:PODetailsGrid.AlternatingItemStyle.BackColor = Color.Gray
If you hover the mouse over the color, you will see it's data type. You'd have to calculate the value, subtract 20% and use that. Color is a set of 3 numbers between 0 and 255
Why not just use Color.DarkGray and Color.LightGray and Color.Gray ¿