Customize DataGrid

  • Thread starter Thread starter Hai Ly Hoang
  • Start date Start date
H

Hai Ly Hoang

Hi,
Datagrid is a great control !
But now, i want to customize it : draw a picture on the header row (the
topmost row) !
Is it possible ? And how ?

Thanks
 
Hi,

With WinForms datagrid, this is possible only by overriding the OnPaint
method and adding your own painting logic.
 
I believe you have to extend the Datagrid class and create your own
control base on it.

PS: Chào anh bạn Việt Nam :)
 

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