471,618 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

setting individual cell's gridline

hi all,
just want to find out if it is possible to set the gridline of
individual cell in a listview using C#. Reason for this is I need to
have a listview which has fixed number of columns and rows, but
individual cell can span columns, though not row. As such, I need to be
able to set the gridline of individual cell, something like how u set
the table grid for individual cell in MS Word's table. I don't know what
event in the custom draw property for listview to handle to achieve
this, can anyone enlighten me?
Jan 18 '06 #1
1 2917
Lonewolf,

There is no event to paint a specific item. If you are going to handle
the painting, you will have to handle all of it.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Lonewolf" <an*******@mozilla.org> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
hi all,
just want to find out if it is possible to set the gridline of individual
cell in a listview using C#. Reason for this is I need to have a listview
which has fixed number of columns and rows, but individual cell can span
columns, though not row. As such, I need to be able to set the gridline of
individual cell, something like how u set the table grid for individual
cell in MS Word's table. I don't know what event in the custom draw
property for listview to handle to achieve this, can anyone enlighten me?

Jan 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Utada P.W. SIU | last post: by
2 posts views Thread by Ken Ingram | last post: by
2 posts views Thread by Tracey | last post: by
6 posts views Thread by gerry.brennan | last post: by
4 posts views Thread by MangroveRoot | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.