DataGrid

  • Thread starter Thread starter Geoff Jones
  • Start date Start date
G

Geoff Jones

Hiya

Is there an easy way to determine the cell size of a datagrid i.e. its pixel
size?

Thanks in advance

Geoff
 
Geoff said:
Hiya

Is there an easy way to determine the cell size of a datagrid i.e. its pixel
size?

Thanks in advance

Geoff

Only if you have specified table style(s). If not, there isn't really any way
to retrieve the default (DataGrid generated) table style which contains the
useful information that you are after.

Chalk this one up to bad design on the part of the .NET DataGrid design.
 

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

Back
Top