Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

expression blend coloured regions

I am working with expression blend and c# to create a silverlight site. I would like to create a map of the world which has many regions. on clicking on the region the colour changes. I have already created the regions.

Does anyone know how to do that?

Thanks

like image 998
Lilz Avatar asked Nov 05 '22 21:11

Lilz


1 Answers

Since you have the regions created already, when you get the click event you need to change the colour of the region. Normally this would be the background property of the control, though it can depend on what control you used to represent a region?

Edit in response to comment

Since you're using rectangle and other shapes Fill is the property you will be changing.

like image 61
Graeme Bradbury Avatar answered Nov 13 '22 19:11

Graeme Bradbury