Colour Country
#2
To get the names of the shown countries you can enumerate all children of EuMapCanvas Canvas and get all Path names - store all countries into Dictionary<string, Path> - key is Path.Name (=country name), value is Path.

This way you can check if the value in TextBox is in the dictionary - if true you can set the Fill property on the Path.

Your question is more related to Silverlight than to my controls. I usually do not answer such questions. I made an exception this time, but for other Silverlight related questions, please ask questions on some more Silverlight related forum.
  


Messages In This Thread
Colour Country - by square - 03-14-2010, 11:35 PM
RE: Colour Country - by abenedik - 03-15-2010, 01:12 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)