6 writes to Right
System.Drawing.Common (1)
System\Drawing\Printing\Margins.cs (1)
137Right = (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)
187Right = value 192margins.Right = value; 200AssertExtensions.Throws<ArgumentOutOfRangeException, ArgumentException>("value", null, () => margins.Right = -1);
System.Windows.Forms (1)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
253Right = data.rtMargin.right,
17 references to Right
System.Drawing.Common (7)
System\Drawing\Printing\Margins.cs (4)
180&& margins.Right == Right 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)
81args[nArg++] = intConverter.ConvertToString(context, culture, margins.Right); 94new object[] { margins.Left, margins.Right, margins.Top, margins.Bottom });
System\Drawing\Printing\PrintController.cs (1)
206pageBounds.Width - (pageSettings.Margins.Left + pageSettings.Margins.Right),
System.Drawing.Common.Tests (7)
System\Drawing\Printing\MarginsConverterTests.cs (2)
65Assert.Equal(2, margins.Right); 94Assert.Equal(2, margins.Right);
System\Drawing\Printing\MarginsTests.cs (5)
38Assert.Equal(100, margins.Right); 50Assert.Equal(right, margins.Right); 147Assert.Equal(2, clonedMargins.Right); 189Assert.Equal(value, margins.Right); 193Assert.Equal(value, margins.Right);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
233|| _minMargins.Right != 0 307dialogSettings.rtMinMargin.right = margins.Right; 316dialogSettings.rtMargin.right = margins.Right;