Action_DrawPoint_test.MainPage.Button_Click_1 C# (CSharp) Method

Button_Click_1() private method

private Button_Click_1 ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
return void
        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);
           
            
            
        }