264 references to Bottom
System.Windows.Forms (3)
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
732if (target.Bottom == Top) 739if (target.Top == Bottom)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
237y = _control.Bottom - size.Height;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FormatControl.cs (1)
322formatTypeListBox.Height = tableLayoutPanel1.Bottom - formatTypeListBox.Top;
System\Windows\Forms\Design\FormatStringDialog.cs (2)
89_okButton.Top = _formatControl1.Bottom + 5; 90_cancelButton.Top = _formatControl1.Bottom + 5;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
34Assert.True(control.Bottom > 0);
System.Windows.Forms.Tests (257)
System\Windows\Forms\AxHostTests.cs (2)
41Assert.Equal(23, control.Bottom); 135Assert.Equal(23, control.Bottom);
System\Windows\Forms\ButtonBaseTests.cs (1)
33Assert.Equal(23, control.Bottom);
System\Windows\Forms\ButtonTests.cs (1)
35Assert.Equal(23, control.Bottom);
System\Windows\Forms\CheckBoxTests.cs (1)
34Assert.Equal(24, control.Bottom);
System\Windows\Forms\ComboBoxTests.cs (1)
38Assert.Equal(control.PreferredHeight, control.Bottom);
System\Windows\Forms\ContainerControlTests.cs (1)
40Assert.Equal(0, control.Bottom);
System\Windows\Forms\ControlTests.cs (5)
28Assert.Equal(0, control.Bottom); 117Assert.Equal(0, control.Bottom); 213Assert.Equal(top + height, control.Bottom); 309Assert.Equal(0, control.Bottom); 405Assert.Equal(top + height, control.Bottom);
System\Windows\Forms\ControlTests.Methods.cs (74)
7432Assert.Equal(y + height, control.Bottom); 7451Assert.Equal(y + height, control.Bottom); 7543Assert.Equal(y + expectedHeight, control.Bottom); 7562Assert.Equal(y + expectedHeight, control.Bottom); 7641Assert.Equal(y + height, control.Bottom); 7660Assert.Equal(y + height, control.Bottom); 7759Assert.Equal(y + height, control.Bottom); 7779Assert.Equal(y + height, control.Bottom); 7882Assert.Equal(y + expectedHeight, control.Bottom); 7904Assert.Equal(y + expectedHeight, control.Bottom); 8030Assert.Equal(y + expectedHeight, control.Bottom); 8057Assert.Equal(y + expectedHeight, control.Bottom); 8219Assert.Equal(expectedY + expectedHeight, control.Bottom); 8238Assert.Equal(expectedY + expectedHeight, control.Bottom); 8330Assert.Equal(y + expectedHeight, control.Bottom); 8349Assert.Equal(y + expectedHeight, control.Bottom); 8428Assert.Equal(expectedY + expectedHeight, control.Bottom); 8447Assert.Equal(expectedY + expectedHeight, control.Bottom); 8616Assert.Equal(expectedY + expectedHeight, control.Bottom); 8636Assert.Equal(expectedY + expectedHeight, control.Bottom); 8739Assert.Equal(y + expectedHeight, control.Bottom); 8761Assert.Equal(y + expectedHeight, control.Bottom); 8887Assert.Equal(y + expectedHeight, control.Bottom); 8914Assert.Equal(y + expectedHeight, control.Bottom); 9033Assert.Equal(y + height, control.Bottom); 9054Assert.Equal(y + height, control.Bottom); 9175Assert.Equal(y + expectedHeight, control.Bottom); 9196Assert.Equal(y + expectedHeight, control.Bottom); 9304Assert.Equal(y + height, control.Bottom); 9325Assert.Equal(y + height, control.Bottom); 9441Assert.Equal(y + height, control.Bottom); 9463Assert.Equal(y + height, control.Bottom); 9596Assert.Equal(y + expectedHeight, control.Bottom); 9620Assert.Equal(y + expectedHeight, control.Bottom); 9754Assert.Equal(y + expectedHeight, control.Bottom); 9783Assert.Equal(y + expectedHeight, control.Bottom); 9865Assert.Equal(expectedSize.Height, control.Bottom); 9881Assert.Equal(expectedSize.Height, control.Bottom); 9913Assert.Equal(expectedSize.Height, control.Bottom); 9932Assert.Equal(expectedSize.Height, control.Bottom); 10388Assert.Equal(0, control.Bottom); 10407Assert.Equal(0, control.Bottom); 10455Assert.True(control.Bottom >= 0); 10488Assert.True(control.Bottom >= 0); 10562Assert.Equal(0, control.Bottom); 10581Assert.Equal(0, control.Bottom); 10654Assert.Equal(0, control.Bottom); 10673Assert.Equal(0, control.Bottom); 10745Assert.Equal(0, control.Bottom); 10767Assert.Equal(0, control.Bottom); 10812Assert.Equal(6, control.Bottom); 10834Assert.Equal(6, control.Bottom); 10890Assert.Equal(6, control.Bottom); 10916Assert.Equal(6, control.Bottom); 11002Assert.Equal(y + height, control.Bottom); 11021Assert.Equal(y + height, control.Bottom); 11113Assert.Equal(y + height, control.Bottom); 11132Assert.Equal(y + height, control.Bottom); 11211Assert.Equal(y + height, control.Bottom); 11230Assert.Equal(y + height, control.Bottom); 11320Assert.Equal(y + height, control.Bottom); 11340Assert.Equal(y + height, control.Bottom); 11443Assert.Equal(y + height, control.Bottom); 11465Assert.Equal(y + height, control.Bottom); 11572Assert.Equal(y + height, control.Bottom); 11599Assert.Equal(y + height, control.Bottom); 11697Assert.Equal(y + height, control.Bottom); 11716Assert.Equal(y + height, control.Bottom); 11806Assert.Equal(y + height, control.Bottom); 11826Assert.Equal(y + height, control.Bottom); 11941Assert.Equal(y + height, control.Bottom); 11963Assert.Equal(y + height, control.Bottom); 12070Assert.Equal(y + height, control.Bottom); 12097Assert.Equal(y + height, control.Bottom);
System\Windows\Forms\ControlTests.Properties.cs (76)
2485Assert.Equal(y + height, control.Bottom); 2504Assert.Equal(y + height, control.Bottom); 2574Assert.Equal(y + expectedHeight, control.Bottom); 2593Assert.Equal(y + expectedHeight, control.Bottom); 2659Assert.Equal(y + height, control.Bottom); 2678Assert.Equal(y + height, control.Bottom); 2764Assert.Equal(y + height, control.Bottom); 2784Assert.Equal(y + height, control.Bottom); 2864Assert.Equal(y + expectedHeight, control.Bottom); 2886Assert.Equal(y + expectedHeight, control.Bottom); 2989Assert.Equal(y + expectedHeight, control.Bottom); 3016Assert.Equal(y + expectedHeight, control.Bottom); 3388Assert.Equal(expectedSize.Height, control.Bottom); 3404Assert.Equal(expectedSize.Height, control.Bottom); 3451Assert.Equal(expectedSize.Height, control.Bottom); 3470Assert.Equal(expectedSize.Height, control.Bottom); 5735Assert.Equal(value, control.Bottom); 5754Assert.Equal(value, control.Bottom); 5845Assert.Equal(expectedHeight, control.Bottom); 5864Assert.Equal(expectedHeight, control.Bottom); 5933Assert.Equal(value, control.Bottom); 5952Assert.Equal(value, control.Bottom); 6041Assert.Equal(value, control.Bottom); 6061Assert.Equal(value, control.Bottom); 6153Assert.Equal(expectedHeight, control.Bottom); 6175Assert.Equal(expectedHeight, control.Bottom); 6290Assert.Equal(expectedHeight, control.Bottom); 6317Assert.Equal(expectedHeight, control.Bottom); 6699Assert.Equal(0, control.Bottom); 6721Assert.Equal(0, control.Bottom); 6790Assert.Equal(0, control.Bottom); 6812Assert.Equal(0, control.Bottom); 6889Assert.Equal(0, control.Bottom); 6914Assert.Equal(0, control.Bottom); 6999Assert.Equal(0, control.Bottom); 7028Assert.Equal(0, control.Bottom); 7180Assert.Equal(value.Y, control.Bottom); 7202Assert.Equal(value.Y, control.Bottom); 7270Assert.Equal(value.Y, control.Bottom); 7293Assert.Equal(value.Y, control.Bottom); 7372Assert.Equal(value.Y, control.Bottom); 7397Assert.Equal(value.Y, control.Bottom); 7483Assert.Equal(value.Y, control.Bottom); 7513Assert.Equal(value.Y, control.Bottom); 11119Assert.Equal(value.Height, control.Bottom); 11138Assert.Equal(value.Height, control.Bottom); 11230Assert.Equal(expectedHeight, control.Bottom); 11249Assert.Equal(expectedHeight, control.Bottom); 11325Assert.Equal(value.Height, control.Bottom); 11344Assert.Equal(value.Height, control.Bottom); 11440Assert.Equal(value.Height, control.Bottom); 11460Assert.Equal(value.Height, control.Bottom); 11557Assert.Equal(expectedHeight, control.Bottom); 11579Assert.Equal(expectedHeight, control.Bottom); 11699Assert.Equal(expectedHeight, control.Bottom); 11726Assert.Equal(expectedHeight, control.Bottom); 12134Assert.Equal(value, control.Bottom); 12155Assert.Equal(value, control.Bottom); 12224Assert.Equal(value, control.Bottom); 12246Assert.Equal(value, control.Bottom); 12322Assert.Equal(value, control.Bottom); 12346Assert.Equal(value, control.Bottom); 12431Assert.Equal(value, control.Bottom); 12460Assert.Equal(value, control.Bottom); 13154Assert.Equal(0, control.Bottom); 13173Assert.Equal(0, control.Bottom); 13264Assert.Equal(expectedHeight, control.Bottom); 13283Assert.Equal(expectedHeight, control.Bottom); 13352Assert.Equal(0, control.Bottom); 13371Assert.Equal(0, control.Bottom); 13460Assert.Equal(0, control.Bottom); 13480Assert.Equal(0, control.Bottom); 13572Assert.Equal(0, control.Bottom); 13594Assert.Equal(0, control.Bottom); 13709Assert.Equal(0, control.Bottom); 13736Assert.Equal(0, control.Bottom);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
38Assert.Equal(control.PreferredHeight, control.Bottom);
System\Windows\Forms\DateTimePickerTests.cs (1)
35Assert.Equal(control.PreferredHeight, control.Bottom);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
47Assert.Equal(control.Height, control.Bottom);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
35Assert.Equal(100, control.Bottom);
System\Windows\Forms\DomainUpDownTests.cs (1)
48_sub.Bottom.Should().Be(_sub.PreferredHeight);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
34Assert.Equal(100, control.Bottom);
System\Windows\Forms\FormTests.cs (1)
45Assert.Equal(300, control.Bottom);
System\Windows\Forms\GroupBoxTests.cs (1)
31Assert.Equal(100, control.Bottom);
System\Windows\Forms\HScrollBarTests.cs (1)
32Assert.True(control.Bottom > 0);
System\Windows\Forms\LabelTests.cs (1)
31Assert.Equal(23, control.Bottom);
System\Windows\Forms\ListBoxTests.cs (1)
32Assert.Equal(96, control.Bottom);
System\Windows\Forms\ListControlTests.cs (1)
32Assert.Equal(0, control.Bottom);
System\Windows\Forms\ListViewTests.cs (1)
39Assert.Equal(97, control.Bottom);
System\Windows\Forms\MdiClientTests.cs (11)
30Assert.Equal(0, control.Bottom); 544Assert.Equal(value.Height, control.Bottom); 563Assert.Equal(value.Height, control.Bottom); 646Assert.Equal(expectedHeight, control.Bottom); 668Assert.Equal(expectedHeight, control.Bottom); 780Assert.Equal(0, control.Bottom); 807Assert.Equal(0, control.Bottom); 932Assert.Equal(0, control.Bottom); 959Assert.Equal(0, control.Bottom); 1094Assert.Equal(expectedHeight, control.Bottom); 1121Assert.Equal(expectedHeight, control.Bottom);
System\Windows\Forms\MenuStripTests.cs (1)
34Assert.Equal(24, control.Bottom);
System\Windows\Forms\MonthCalendarTests.cs (1)
36Assert.True(control.Bottom > 0);
System\Windows\Forms\PanelTests.cs (1)
35Assert.Equal(100, control.Bottom);
System\Windows\Forms\PictureBoxTests.cs (1)
34Assert.Equal(50, control.Bottom);
System\Windows\Forms\ProgressBarTests.cs (1)
30Assert.Equal(23, control.Bottom);
System\Windows\Forms\PropertyGridTests.cs (1)
45Assert.Equal(130, control.Bottom);
System\Windows\Forms\RadioButtonTests.cs (1)
34Assert.Equal(24, control.Bottom);
System\Windows\Forms\RichTextBoxTests.cs (1)
42Assert.Equal(96, control.Bottom);
System\Windows\Forms\ScrollableControlTests.cs (1)
34Assert.Equal(0, control.Bottom);
System\Windows\Forms\ScrollBarTests.cs (1)
29Assert.Equal(0, control.Bottom);
System\Windows\Forms\SplitterPanelTests.cs (9)
41Assert.Equal(100, control.Bottom); 470Assert.Equal(100, control.Bottom); 489Assert.Equal(100, control.Bottom); 548Assert.Equal(value.Y + 100, control.Bottom); 570Assert.Equal(value.Y + 100, control.Bottom); 835Assert.Equal(value.Height, control.Bottom); 854Assert.Equal(value.Height, control.Bottom); 1192Assert.Equal(100, control.Bottom); 1211Assert.Equal(100, control.Bottom);
System\Windows\Forms\SplitterTests.cs (1)
30Assert.Equal(3, control.Bottom);
System\Windows\Forms\StatusStripTests.cs (1)
34Assert.Equal(22, control.Bottom);
System\Windows\Forms\TabControlTests.cs (1)
32Assert.Equal(100, control.Bottom);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
36Assert.Equal(100, control.Bottom);
System\Windows\Forms\TabPageTests.cs (18)
39Assert.Equal(100, control.Bottom); 148Assert.Equal(100, control.Bottom); 1906Assert.Equal(value.Y + 100, control.Bottom); 1928Assert.Equal(value.Y + 100, control.Bottom); 1996Assert.Equal(value.Y + 100, control.Bottom); 2019Assert.Equal(value.Y + 100, control.Bottom); 2097Assert.Equal(value.Y + 100, control.Bottom); 2122Assert.Equal(value.Y + 100, control.Bottom); 2221Assert.Equal(expected.Y + expected.Height, control.Bottom); 2251Assert.Equal(expected.Y + expected.Height, control.Bottom); 4352Assert.Equal(y + height, control.Bottom); 4373Assert.Equal(y + height, control.Bottom); 4489Assert.Equal(y + height, control.Bottom); 4511Assert.Equal(y + height, control.Bottom); 4644Assert.Equal(y + expectedHeight, control.Bottom); 4668Assert.Equal(y + expectedHeight, control.Bottom); 4823Assert.Equal(expected.Y + expected.Height, control.Bottom); 4853Assert.Equal(expected.Y + expected.Height, control.Bottom);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
37Assert.Equal(100, control.Bottom); 947Assert.Equal(value.Y + 100, control.Bottom); 969Assert.Equal(value.Y + 100, control.Bottom);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
38Assert.Equal(25, control.Bottom); 1973Assert.Equal(expected.Y + 25, control.Bottom); 1995Assert.Equal(expected.Y + 25, control.Bottom);
System\Windows\Forms\ToolStripPanelTests.cs (1)
36Assert.Equal(0, control.Bottom);
System\Windows\Forms\ToolStripTests.cs (2)
38Assert.Equal(25, control.Bottom); 196Assert.Equal(25, control.Bottom);
System\Windows\Forms\TreeViewTests.cs (1)
30Assert.Equal(97, control.Bottom);
System\Windows\Forms\UpDownBaseTests.cs (3)
35Assert.Equal(control.PreferredHeight, control.Bottom); 2770Assert.Equal(y + preferredHeight, control.Bottom); 2802Assert.Equal(y + preferredHeight, control.Bottom);
System\Windows\Forms\UserControlTests.cs (1)
40Assert.Equal(150, control.Bottom);
System\Windows\Forms\VScrollBarTests.cs (1)
31Assert.True(control.Bottom > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
30Assert.Equal(250, control.Bottom);
TextBoxBaseTests.cs (6)
6543Assert.Equal(y + s_preferredHeight, control.Bottom); 6564Assert.Equal(y + s_preferredHeight, control.Bottom); 6677Assert.Equal(y + height, control.Bottom); 6698Assert.Equal(y + height, control.Bottom); 6793Assert.Equal(y + height, control.Bottom); 6814Assert.Equal(y + height, control.Bottom);
TextBoxTests.cs (1)
37Assert.Equal(control.PreferredHeight, control.Bottom);
TrackBarTests.cs (3)
31Assert.Equal(s_dimension, control.Bottom); 3003Assert.Equal(y + expectedHeight, control.Bottom); 3024Assert.Equal(y + expectedHeight, control.Bottom);
WebBrowserBaseTests.cs (4)
82Assert.Equal(y + height, control.Bottom); 101Assert.Equal(y + height, control.Bottom); 198Assert.Equal(y + expectedHeight, control.Bottom); 220Assert.Equal(y + expectedHeight, control.Bottom);