03-15-2010, 01:12 PM
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.
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.

