private void Button_Click_1(object sender, RoutedEventArgs e)
{
DrawPoint point = new DrawPoint(this.MyMap);
//point.Color = new SolidColorBrush(Colors.Red);
//point.Size = 12;
//point.Opacity = 0.3;
Theme theme = new Theme
{
Color=new SolidColorBrush(Colors.Yellow),
StrokeThickness=9,
Fill=new SolidColorBrush(Colors.Azure),
Stroke = new SolidColorBrush(Colors.Black)
};
MyMap.Theme = theme;
point.Color = MyMap.Theme.Color;
point.Opacity = 0.3;
point.Size = 36;
MyMap.Action = point;
point.DrawCompleted += new EventHandler<DrawEventArgs>(Point_DrawCompleted);
}