DataGrid vs DataGridView

S

Soulless

I realize now one of my problems seems to be I was working with
DataGrids which come from .NET 1.x. I am now adding a DataGridView
which will do what I need, however, there is one weird difference I
cannot figure out.

The old DataGrid has a caption property. It is a blue strip above the
column headings. It is blue because the caption properties were set
as such. Problem is, the DataGridView object does not have the same
caption properties.

Does anyone know what i'm talking about or how to find properties to
have a caption at the top and adjust it's colour?

Thanks!
 
N

Nicholas Paldino [.NET/C# MVP]

AFAIK, I don't believe that you can do this with the DataGridView.
However, there is nothing to stop you from slapping a label above the data
grid view to do the same thing.
 
S

Soulless

AFAIK, I don't believe that you can do this with the DataGridView.
However, there is nothing to stop you from slapping a label above the data
grid view to do the same thing.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)




I realize now one of my problems seems to be I was working with
DataGrids which come from .NET 1.x. I am now adding a DataGridView
which will do what I need, however, there is one weird difference I
cannot figure out.
The old DataGrid has a caption property. It is a blue strip above the
column headings. It is blue because the caption properties were set
as such. Problem is, the DataGridView object does not have the same
caption properties.
Does anyone know what i'm talking about or how to find properties to
have a caption at the top and adjust it's colour?
Thanks!- Hide quoted text -

- Show quoted text -

True enough, thanks!
 

Ask a Question

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.

Ask a Question

Top