Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用表达式混合和 c# 创建一个 silverlight 站点。我想创建一个包含许多区域的世界地图。单击该区域时,颜色会发生变化。我已经创建了区域。
有谁知道这是怎么做到的吗?
谢谢
由于您已经创建了区域,因此当您获得点击事件时,您需要更改区域的颜色。通常这将是控件的背景属性,尽管它可能取决于您用来表示区域的控件?
编辑以回应评论
由于您使用的是矩形和其他形状Fill是您将要更改的属性。