Hi All,
Me again.
Just have a simple question this time.
I can't seem to change the font size dynamically when loading data into a datagrid. All the other commands work fine but when I get to e.Item.Font.Size = FontSize.XXSmall, the FontSize.XXSmall part is highlighted in blue.
What am I doing wrong?
e.Item.BackColor = Color.White
e.Item.BorderColor = Color.Black
e.Item.BorderStyle = BorderStyle.Outset
e.Item.ForeColor = Color.Orange
e.Item.Font.Bold = False
-> e.Item.Font.Size = FontSize.XXSmall
Me again.
Just have a simple question this time.
I can't seem to change the font size dynamically when loading data into a datagrid. All the other commands work fine but when I get to e.Item.Font.Size = FontSize.XXSmall, the FontSize.XXSmall part is highlighted in blue.
What am I doing wrong?
e.Item.BackColor = Color.White
e.Item.BorderColor = Color.Black
e.Item.BorderStyle = BorderStyle.Outset
e.Item.ForeColor = Color.Orange
e.Item.Font.Bold = False
-> e.Item.Font.Size = FontSize.XXSmall