Merge pull request #961 from ermshiperete/bug-xamarin-18118
[mono.git] / mcs / class / System.Windows.Forms.DataVisualization / System.Windows.Forms.DataVisualization.Charting / AnnotationPositionChangingEventArgs.cs
index 41cc47e0de83c49c38de10bf86a5ce85d5abf4ff..9f490989166bac47f8480622effc7aa5157a4867 100644 (file)
@@ -33,29 +33,59 @@ namespace System.Windows.Forms.DataVisualization.Charting
                {
                }
 
-               public Annotation Annotation {get;set;}
+               public Annotation Annotation { get; set; }
 
-               public PointF NewAnchorLocation { get; set;}
+               public PointF NewAnchorLocation { get; set; }
                public double NewAnchorLocationX { 
                        get { return this.NewAnchorLocation.X; } 
-                       set { PointF nal = this.NewAnchorLocation; nal.X = (float)value; this.NewAnchorLocation = nal; } }
+                       set { 
+                               PointF nal = this.NewAnchorLocation; 
+                               nal.X = (float)value;
+                               this.NewAnchorLocation = nal; 
+                       } 
+               }
                public double NewAnchorLocationY { 
                        get { return this.NewAnchorLocation.Y; } 
-                       set { PointF nal = this.NewAnchorLocation; nal.Y = (float)value; this.NewAnchorLocation = nal; } }
+                       set { 
+                               PointF nal = this.NewAnchorLocation; 
+                               nal.Y = (float)value;
+                               this.NewAnchorLocation = nal; 
+                       } 
+               }
 
                public RectangleF NewPosition { get; set; }
 
                public double NewLocationX { 
-                       get { return this.NewPosition.X;} 
-                       set{ RectangleF np = this.NewPosition; np.X = (float)value; this.NewPosition = np;} }
+                       get { return this.NewPosition.X; } 
+                       set { 
+                               RectangleF np = this.NewPosition; 
+                               np.X = (float)value;
+                               this.NewPosition = np;
+                       }
+               }
                public double NewLocationY { 
-                       get { return this.NewPosition.Y;} 
-                       set{ RectangleF np = this.NewPosition; np.Y = (float)value; this.NewPosition = np;} }
+                       get { return this.NewPosition.Y; } 
+                       set { 
+                               RectangleF np = this.NewPosition; 
+                               np.Y = (float)value; 
+                               this.NewPosition = np;
+                       } 
+               }
                public double NewSizeWidth { 
-                       get { return this.NewPosition.Width;} 
-                       set{ RectangleF np = this.NewPosition; np.Width = (float)value; this.NewPosition = np;} }
+                       get { return this.NewPosition.Width; } 
+                       set { 
+                               RectangleF np = this.NewPosition; 
+                               np.Width = (float)value; 
+                               this.NewPosition = np;
+                       }
+               }
                public double NewSizeHeight { 
-                       get { return this.NewPosition.Height;} 
-                       set{ RectangleF np = this.NewPosition; np.Height = (float)value; this.NewPosition = np;} }
+                       get { return this.NewPosition.Height; } 
+                       set { 
+                               RectangleF np = this.NewPosition; 
+                               np.Height = (float)value; 
+                               this.NewPosition = np;
+                       }
+               }
        }
 }