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