Paint method for a DataGrid or ListView

  • Thread starter Thread starter Alex Feinman [MVP]
  • Start date Start date
A

Alex Feinman [MVP]

Would you mind setting your timezone correctly as to not post in the future?
Should be GMT+6 I believe
 
Hi, Prasanna

Check out the following article:

http://opennetcf.org/articles/ownerdrawnlist.asp

It explains the process of creating an owner-drawn List control. Should be
able to modify the code to create an owner-drawn ListView control.

If you want a third-party solution, there is a commercial product called
AdvancedList put out by RESCO. An article detailing the use of the control
can be found at:

http://devbuzz.com/content/zinc_resco_cf_ctrls_pg1.asp

The downside (depending on your development budget) is the control costs
$79.95. Depending on the type of functionality you're trying to achieve,
this may help.

HTH

Flynn
 
Hi,



If someone could share their C# code for the Paint method for a DataGrid or
ListView I would be much grateful. I have been trying to get a .NET CF
version of our application going. But due to the minimum
functionality/resources of the CF (eVB has more functionality than CF, and
our current app is eVC), I'm faced with the difficult task of convincing the
people that .NET CF is the way forward. I hope Microsoft releases some
updated version of the CF with functionality enhancements to the DataGrid
and ListView controls since they are the best way of displaying information
in commercial applications.



Thanks.

Prasanna.
 
you could try out this OpenSource control
http://www.ihook.cc => OpenSource

if you want I could send you the latest version which is even better (not
published yet, very busy) my email is in the README or licence.......
 
Just be aware, that the AdvancedList does not easily, or quickly, support
ILists like the DataGrid and ListView do. Its also not necessarily a direct
DataGrid replacement, more of an expanded ListView.
 
Back
Top