5 writes to Top
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)
209
Top
= value
214
margins.
Top
= value;
222
AssertExtensions.Throws<ArgumentOutOfRangeException, ArgumentException>("value", null, () => margins.
Top
= -1);
System.Windows.Forms (1)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
252
Top
= data.rtMargin.top,
10 references to Top
System.Drawing.Common.Tests (7)
System\Drawing\Printing\MarginsConverterTests.cs (2)
66
Assert.Equal(3, margins.
Top
);
95
Assert.Equal(3, margins.
Top
);
System\Drawing\Printing\MarginsTests.cs (5)
37
Assert.Equal(100, margins.
Top
);
51
Assert.Equal(top, margins.
Top
);
148
Assert.Equal(3, clonedMargins.
Top
);
211
Assert.Equal(value, margins.
Top
);
215
Assert.Equal(value, margins.
Top
);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
234
|| _minMargins.
Top
!= 0
306
dialogSettings.rtMinMargin.top = margins.
Top
;
315
dialogSettings.rtMargin.top = margins.
Top
;