N
Nancy
How could I set a different backcolors on a
datagrid.headertext only ?
Thanks!
Nancy.
datagrid.headertext only ?
Thanks!
Nancy.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
-----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.
.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.