6 writes to Left
System.Drawing.Common (1)
System\Drawing\Printing\Margins.cs (1)
124Left = (int)Math.Round(value);
System.Drawing.Common.Tests (4)
System\Drawing\Printing\MarginsConverterTests.cs (1)
123Margins margins = new() { Left = 1, Right = 2, Top = 3, Bottom = 4 };
System\Drawing\Printing\MarginsTests.cs (3)
165Left = value 170margins.Left = value; 178AssertExtensions.Throws<ArgumentOutOfRangeException, ArgumentException>("value", null, () => margins.Left = -1);
System.Windows.Forms (1)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
251Left = data.rtMargin.left,
23 references to Left
System.Drawing.Common (13)
System\Drawing\Printing\DefaultPrintController.cs (1)
102_graphics.TranslateTransform(document.DefaultPageSettings.Margins.Left, document.DefaultPageSettings.Margins.Top);
System\Drawing\Printing\Margins.cs (4)
179&& margins.Left == Left 187public override int GetHashCode() => HashCode.Combine(Left, Right, Top, Bottom); 215public override string ToString() => $"[Margins Left={Left} Right={Right} Top={Top} Bottom={Bottom}]";
System\Drawing\Printing\MarginsConverter.cs (2)
80args[nArg++] = intConverter.ConvertToString(context, culture, margins.Left); 94new object[] { margins.Left, margins.Right, margins.Top, margins.Bottom });
System\Drawing\Printing\PreviewPrintController.cs (1)
89_graphics.TranslateTransform(document.DefaultPageSettings.Margins.Left, document.DefaultPageSettings.Margins.Top);
System\Drawing\Printing\PrintController.cs (2)
204pageSettings.Margins.Left, 206pageBounds.Width - (pageSettings.Margins.Left + pageSettings.Margins.Right),
System\Drawing\Printing\PrinterSettings.cs (2)
499g.TranslateTransform(_defaultPageSettings.Margins.Left, _defaultPageSettings.Margins.Top); 521g.TranslateTransform(pageSettings.Margins.Left, pageSettings.Margins.Top);
System\Drawing\Printing\PrintPreviewGraphics.cs (1)
46graphics.TranslateTransform(_printDocument.DefaultPageSettings.Margins.Left, _printDocument.DefaultPageSettings.Margins.Top);
System.Drawing.Common.Tests (7)
System\Drawing\Printing\MarginsConverterTests.cs (2)
64Assert.Equal(1, margins.Left); 93Assert.Equal(1, margins.Left);
System\Drawing\Printing\MarginsTests.cs (5)
36Assert.Equal(100, margins.Left); 49Assert.Equal(left, margins.Left); 146Assert.Equal(1, clonedMargins.Left); 167Assert.Equal(value, margins.Left); 171Assert.Equal(value, margins.Left);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
232&& (_minMargins.Left != 0 305dialogSettings.rtMinMargin.left = margins.Left; 314dialogSettings.rtMargin.left = margins.Left;