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)
7390Assert.Equal(y + height, control.Bottom); 7409Assert.Equal(y + height, control.Bottom); 7501Assert.Equal(y + expectedHeight, control.Bottom); 7520Assert.Equal(y + expectedHeight, control.Bottom); 7599Assert.Equal(y + height, control.Bottom); 7618Assert.Equal(y + height, control.Bottom); 7717Assert.Equal(y + height, control.Bottom); 7737Assert.Equal(y + height, control.Bottom); 7840Assert.Equal(y + expectedHeight, control.Bottom); 7862Assert.Equal(y + expectedHeight, control.Bottom); 7988Assert.Equal(y + expectedHeight, control.Bottom); 8015Assert.Equal(y + expectedHeight, control.Bottom); 8177Assert.Equal(expectedY + expectedHeight, control.Bottom); 8196Assert.Equal(expectedY + expectedHeight, control.Bottom); 8288Assert.Equal(y + expectedHeight, control.Bottom); 8307Assert.Equal(y + expectedHeight, control.Bottom); 8386Assert.Equal(expectedY + expectedHeight, control.Bottom); 8405Assert.Equal(expectedY + expectedHeight, control.Bottom); 8574Assert.Equal(expectedY + expectedHeight, control.Bottom); 8594Assert.Equal(expectedY + expectedHeight, control.Bottom); 8697Assert.Equal(y + expectedHeight, control.Bottom); 8719Assert.Equal(y + expectedHeight, control.Bottom); 8845Assert.Equal(y + expectedHeight, control.Bottom); 8872Assert.Equal(y + expectedHeight, control.Bottom); 8991Assert.Equal(y + height, control.Bottom); 9012Assert.Equal(y + height, control.Bottom); 9133Assert.Equal(y + expectedHeight, control.Bottom); 9154Assert.Equal(y + expectedHeight, control.Bottom); 9262Assert.Equal(y + height, control.Bottom); 9283Assert.Equal(y + height, control.Bottom); 9399Assert.Equal(y + height, control.Bottom); 9421Assert.Equal(y + height, control.Bottom); 9554Assert.Equal(y + expectedHeight, control.Bottom); 9578Assert.Equal(y + expectedHeight, control.Bottom); 9712Assert.Equal(y + expectedHeight, control.Bottom); 9741Assert.Equal(y + expectedHeight, control.Bottom); 9823Assert.Equal(expectedSize.Height, control.Bottom); 9839Assert.Equal(expectedSize.Height, control.Bottom); 9871Assert.Equal(expectedSize.Height, control.Bottom); 9890Assert.Equal(expectedSize.Height, control.Bottom); 10346Assert.Equal(0, control.Bottom); 10365Assert.Equal(0, control.Bottom); 10413Assert.True(control.Bottom >= 0); 10446Assert.True(control.Bottom >= 0); 10520Assert.Equal(0, control.Bottom); 10539Assert.Equal(0, control.Bottom); 10612Assert.Equal(0, control.Bottom); 10631Assert.Equal(0, control.Bottom); 10703Assert.Equal(0, control.Bottom); 10725Assert.Equal(0, control.Bottom); 10770Assert.Equal(6, control.Bottom); 10792Assert.Equal(6, control.Bottom); 10848Assert.Equal(6, control.Bottom); 10874Assert.Equal(6, control.Bottom); 10960Assert.Equal(y + height, control.Bottom); 10979Assert.Equal(y + height, control.Bottom); 11071Assert.Equal(y + height, control.Bottom); 11090Assert.Equal(y + height, control.Bottom); 11169Assert.Equal(y + height, control.Bottom); 11188Assert.Equal(y + height, control.Bottom); 11278Assert.Equal(y + height, control.Bottom); 11298Assert.Equal(y + height, control.Bottom); 11401Assert.Equal(y + height, control.Bottom); 11423Assert.Equal(y + height, control.Bottom); 11530Assert.Equal(y + height, control.Bottom); 11557Assert.Equal(y + height, control.Bottom); 11655Assert.Equal(y + height, control.Bottom); 11674Assert.Equal(y + height, control.Bottom); 11764Assert.Equal(y + height, control.Bottom); 11784Assert.Equal(y + height, control.Bottom); 11899Assert.Equal(y + height, control.Bottom); 11921Assert.Equal(y + height, control.Bottom); 12028Assert.Equal(y + height, control.Bottom); 12055Assert.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);