6 writes to Bottom
System.Drawing.Common (1)
System\Drawing\Printing\Margins.cs (1)
163
Bottom
= (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)
231
Bottom
= value
236
margins.
Bottom
= value;
244
AssertExtensions.Throws<ArgumentOutOfRangeException, ArgumentException>("value", null, () => margins.
Bottom
= -1);
System.Windows.Forms (1)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
254
Bottom
= data.rtMargin.bottom
17 references to Bottom
System.Drawing.Common (7)
System\Drawing\Printing\Margins.cs (4)
182
&& margins.
Bottom
==
Bottom
;
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)
83
args[nArg++] = intConverter.ConvertToString(context, culture, margins.
Bottom
);
94
new object[] { margins.Left, margins.Right, margins.Top, margins.
Bottom
});
System\Drawing\Printing\PrintController.cs (1)
207
pageBounds.Height - (pageSettings.Margins.Top + pageSettings.Margins.
Bottom
));
System.Drawing.Common.Tests (7)
System\Drawing\Printing\MarginsConverterTests.cs (2)
67
Assert.Equal(4, margins.
Bottom
);
96
Assert.Equal(4, margins.
Bottom
);
System\Drawing\Printing\MarginsTests.cs (5)
39
Assert.Equal(100, margins.
Bottom
);
52
Assert.Equal(bottom, margins.
Bottom
);
149
Assert.Equal(4, clonedMargins.
Bottom
);
233
Assert.Equal(value, margins.
Bottom
);
237
Assert.Equal(value, margins.
Bottom
);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
235
|| _minMargins.
Bottom
!= 0);
308
dialogSettings.rtMinMargin.bottom = margins.
Bottom
;
317
dialogSettings.rtMargin.bottom = margins.
Bottom
;