Find a better control
Posted
by Budda
on Stack Overflow
See other posts from Stack Overflow
or by Budda
Published on 2010-05-30T03:46:59Z
Indexed on
2010/05/30
3:52 UTC
Read the original article
Hit count: 434
It is necessary to implement the following functionality:
There is a rectangle "field", its size is 150x100 pixels. Field is split to locations, each location is 10x10 (totally 15x10 locations on the field).
There are few "coins" (5, for example), each of them can be dropped into any location.
The list of text messages should be displayed in the drop-down list if any coin is clicked (when any message is clicked, drop-down list should be hidden and coin should display the number of selected message from 0 to 9, for example).
That should be done with Silverlight 4.0
I am going to implement custom control "Coin", it will have a view (with a circle), it will display some kind of popup-window (please advise, which one), focus will be set to this window. On "FocusLost" window will be closed (without changing message number), if any message from the list will be clicked then its number will be stored inside of coin.
Question 1: is there any control that already has required functionality?
Question 2: how to implement "drag-and-drop" of coins to the "field" (lets assume, they will be close to the field)?
Any thought or ideas will be helpful. Thanks.
© Stack Overflow or respective owner