PC Review


Reply
Thread Tools Rate Thread

Custom ListView

 
 
--== Alain ==--
Guest
Posts: n/a
 
      22nd Jan 2007
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.
 
Reply With Quote
 
 
 
 
igd
Guest
Posts: n/a
 
      22nd Jan 2007
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).


--== Alain ==-- schrieb:

> 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.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom headers in ListView 1.1? Jared Microsoft Dot NET Framework Forms 1 3rd Jan 2007 05:34 PM
Re: Custom sorting for ListView Jeff Gaines Microsoft Dot NET Framework Forms 7 8th Dec 2006 11:53 AM
Custom ListView dominique Microsoft C# .NET 1 12th Dec 2005 06:55 PM
ListView Custom Draw =?Utf-8?B?QnJpYW4gS2VhdGluZyBFSTlGWEI=?= Microsoft C# .NET 5 16th Dec 2004 11:13 AM
Focus on a custom listview Daisy Microsoft C# .NET 3 14th Jul 2003 07:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.