GUI DataGrid

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

On a windows datagrid is it possible to remove the default 'bar' at the very
top and the buttons on the left hand side (showing * for new record > for
current selection etc). I'm after getting a look more like the list in
outlook express where when you select an item it selects the whole row in a
different colour.

Can anybody help me achieve this sort of look?

Thanks
Gav
 
Hello Gav,

Thanks for your post. Eric is correct that you can remove the left default
'bar' by setting DataGrid's RowHeadersVisible to False. Please refer to the
following MSDN documentation on this property.

DataGridTableStyle.RowHeadersVisible Property
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformsdatagridtablestyleclassrowheadersvisibletopic.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top