Scrollable "area"?
Last post 05-12-2008 11:55 AM by mchlsync. 4 replies.
Sort Posts:
05-11-2008 3:25 PM
Scrollable "area"?

I'm trying to create a simple drop down list which will slide down when a user hovers over say, a circle element.

How would I be able to achieve this? Also, I would like items to appear in that area, and if there are alot of items, I want it so that the user can scroll down the list of items and be able to click on them to do whatever.

Is this possible and how can I achieve it? I will be using Silverlight 2.0 and VS2008.

Thank-you!

ahmedilyas

Joined on 04-15-2006
UK
Posts 43
05-12-2008 2:41 AM
Re: Scrollable "area"?

You can use the ScrollViewer to create a scrollable region.  For the mouseover appearance, you might consider using a Popup.  I have an example on my site (http://adoguy.com).

(If this has answered your question, please "Mark as Answer")

Shawn Wildermuth
C# MVP, MCSD, Speaker and Author

Silverlight 2 Workshop
May 12-14, 2008 - Atlanta, GA
May 28-30, 2008 - San Francisco, CA
http://www.silverlight-tour.com

swildermuth

Joined on 10-13-2003
Atlanta, GA
Posts 1,058
05-12-2008 2:55 AM
Re: Scrollable "area"?

Thanks mate!

Was great seeing you @ the MVP Summit this year. Shall catch up with you soon, but in the mean time thanks for the link, will check it out and hopefully be able to work with the example :)

ahmedilyas

Joined on 04-15-2006
UK
Posts 43
05-12-2008 11:29 AM
Re: Scrollable "area"?

Yes that's basically what I am after.... from what I saw on this page:

 

http://adoguy.com/silverlight/

 

I am however unable to open the project in either VS2005 or VS2008 - it says that the project type isn't supported by this installation. Any ideas?

Again, that is pretty much what I want where, if I have a "playlist", I want items to appear in the similar view as on that playlist page of yours. How would I be able to do this?

ahmedilyas

Joined on 04-15-2006
UK
Posts 43
05-12-2008 11:55 AM
Re: Scrollable "area"?

Hello,

You can check-out this post http://www.codeproject.com/KB/silverlight/DropDownMenuSilverlight2.aspx

but you will need to add scrollviewer in that sample..  

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Best Regards,
Michael Sync

Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed

mchlsync

Joined on 09-16-2005
Singapore
Posts 2,021