Custom ListView

A

--== Alain ==--

Hi,

I'm coming back on the ListView component that i would like to design.
I finally finish to analyse how it should work (on paper).
So i have properties, methods and events that i should implement.

I found several points that must base component respects to implement it.
- it should implement a canvas/GDI to allow drawing (to allow
transparency, borders, headers, alignment, colors,...)
- it should allow containers in order to implement in each cell a child
component (i.e : progressbar, spin box, editbox,..)
- it should allow drag and drop methods and also fire event when
resizing columns, rows, headers,...
- it should also allow multi type columns (to display progress bar, spin
edit, images,...)
- it should allow customized headers

As someone advise me before, Panel seems to be good choice for that, but
i would like to know before to start to code, if there is not another
base component on which i can base my custom control (as base component)
? maybe a better one thant Panel control.

thanks a lot for your contribution. I do not want to start to code and
to realize after that i should start from another base control or class.
It would be crazy to waste coding time.

Al.
 
I

igd

Since Panel already support a border (BorderStyle) it is a good choice.
Alternatives are Control or UserControl. You will find a lot of text
material on that topic in the MSDN library (related to
Control/UserControl).
 

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