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