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