Custom listview control?

L

lewisjosh2

I'm a newbie to windows forms and I'm having trouble finding any
information about how to create a custom listview.

In my app, I'm using a 'large icon' view and basically what I want to
do is:

1. Change the color/look of the highlighting of items (I don't want it
shading the image...just want a border rectangle)

2. Set the number of 'icons' per row, other than just resizing the
control in Visual Studio and hoping that the size will limit how many
columns are on the row. (since this works out different depending on
what computer you run it on)

3. Change the font without it changing the spacing of the icons. (the
bigger the font I pick, the more space the listview creates between the
controls, especially horizontally)

Are any of those achievable by overriding some of the methods of the
listview class? Or, am I just going to have to create my own listview
from scratch?
 
M

Mark Harris

The best resource there on the internet for you to learn these would be in
my opinion code project, take a look at www.codeproject.com/csharp/ and
you should find articles on most of these things, or something very
similar.

- Mark
 

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