N
Nancy
How could I set a different backcolors on a
datagrid.headertext only ?
Thanks!
Nancy.
datagrid.headertext only ?
Thanks!
Nancy.
-----Original Message-----
You need to use the HeaderBackColor property of your DataGrid or TableStyle.
Example:
this.dataGrid1.TableStyles[0].HeaderBackColor = Color.SlateGray;
this.dataGrid1.TableStyles[0].HeaderForeColor = Color.WhiteSmoke;
--
Tim Wilson
..Net Compact Framework MVP
Nancy said:How could I set a different backcolors on a
datagrid.headertext only ?
Thanks!
Nancy.
.
Nancy said:This example colors all column headers for the datagrid.
I am looking to learn how to color each column header
with different colors.-----Original Message-----
You need to use the HeaderBackColor property of your DataGrid or TableStyle.
Example:
this.dataGrid1.TableStyles[0].HeaderBackColor = Color.SlateGray;
this.dataGrid1.TableStyles[0].HeaderForeColor = Color.WhiteSmoke;
--
Tim Wilson
..Net Compact Framework MVP
Nancy said:How could I set a different backcolors on a
datagrid.headertext only ?
Thanks!
Nancy.
.