SmartPhone Contacts style ListView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

In the Contacts program on the SmartPhone emulator, the Contacts program uses a listview control. How do I get a ListView to look like that one - that is - the stripes in the background that are darker on the right?

Thank you,
Joe
 
Take a look at the SmartList control in the SDF:

http://www.opennetcf.org/PermaLink.aspx?guid=3a013afd-791e-45ef-802a-4c1dbe1cfef9

Some info in the control here:

http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=0c5ed9b5-5c9e-4df2-85d3-19c4b291bd06

http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=a69cd868-e06d-44d3-82a5-315a52dc350c


--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

Joe Thompson said:
Hi,

In the Contacts program on the SmartPhone emulator, the Contacts program
uses a listview control. How do I get a ListView to look like that one -
that is - the stripes in the background that are darker on the right?
 
Hi Alex,

I have the SmartList installed and looked at the links. I see a SmartLink demo screenshot that looks exactly like what I'm talking about but I can't get it to look like that. All I can get is even/odd lines to be different colors.

What am I missing?

Thank you,
Joe
 
The demo code includes ControlPaint class with CreateGradBackground method
that'd return the bitmap for the background.

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

Joe Thompson said:
Hi Alex,

I have the SmartList installed and looked at the links. I see a SmartLink
demo screenshot that looks exactly like what I'm talking about but I can't
get it to look like that. All I can get is even/odd lines to be different
colors.
 
Thanks Alex,
This is what I wanted. Have you noticed that if the view is in "List" instead of "Detail" that the items have a white background? Anyway around that?

Thanks again,
Joe
 
Yes, I have. This is by design. I do not believe you can get around this
without using custom painting

--
Alex Feinman
---
Visit http://www.opennetcf.org
Joe Thompson said:
Thanks Alex,
This is what I wanted. Have you noticed that if the view is in "List"
instead of "Detail" that the items have a white background? Anyway around
that?
 
Back
Top