1 write to position
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
742position = value;
16 references to position
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (16)
190get { return position;} 731Point locPos = position; 740Point current = position; 743position.X = Math.Min(position.X, virtualSize.Width - Width); 744position.Y = Math.Min(position.Y, virtualSize.Height - Height); 745if (position.X < 0) position.X = 0; 746if (position.Y < 0) position.Y = 0; 751current.X - position.X, 752current.Y - position.Y, 756UnsafeNativeMethods.SetScrollPos(new HandleRef(this, Handle), NativeMethods.SB_HORZ, position.X, true); 757UnsafeNativeMethods.SetScrollPos(new HandleRef(this, Handle), NativeMethods.SB_VERT, position.Y, true); 762SetPositionNoInvalidate(position); // Make sure it's within range