78 references to Height
System.Windows.Forms (15)
System\Windows\Forms\BoundsSpecified.cs (1)
43
Size = Width |
Height
,
System\Windows\Forms\Control.cs (3)
2156
set => SetBounds(_x, _y, _width, value, BoundsSpecified.
Height
);
5331
if ((_controlStyle & ControlStyles.FixedHeight) != ControlStyles.FixedHeight && (specified & BoundsSpecified.
Height
) != 0)
10012
if ((specified & BoundsSpecified.
Height
) == BoundsSpecified.None)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3262
if ((specified & BoundsSpecified.
Height
) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
27468
if ((specified & BoundsSpecified.
Height
) == BoundsSpecified.
Height
&& height > UpperSize)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1381
if ((specified & BoundsSpecified.
Height
) != BoundsSpecified.None)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
1016
if ((specified & BoundsSpecified.
Height
) != BoundsSpecified.None)
System\Windows\Forms\Form.cs (3)
5178
_restoredWindowBoundsSpecified |= (specified & (BoundsSpecified.Width | BoundsSpecified.
Height
));
5196
if ((specified & BoundsSpecified.
Height
) != 0)
5219
if ((specified & BoundsSpecified.
Height
) != 0 || _restoreBounds.Height == -1)
System\Windows\Forms\Layout\CommonProperties.cs (1)
293
bool hChangedButNotSpecified = ((specified & BoundsSpecified.
Height
) == BoundsSpecified.None) & height != originalBounds.Height;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2064
if ((specified & BoundsSpecified.
Height
) != BoundsSpecified.None && Orientation == Orientation.Horizontal)
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
493
specified &= ~BoundsSpecified.
Height
;
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (4)
680
specified |= BoundsSpecified.
Height
;
696
specified |= BoundsSpecified.
Height
;
770
if (((specified & BoundsSpecified.
Height
) == BoundsSpecified.
Height
) &&
System\Windows\Forms\Design\ComponentTray.cs (2)
2415
(specified & BoundsSpecified.
Height
) == BoundsSpecified.
Height
)
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (2)
66
if ((BoundsSpecified.
Height
& specified) == BoundsSpecified.
Height
)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1672
if ((specified & BoundsSpecified.
Height
) == BoundsSpecified.
Height
)
System.Windows.Forms.Tests (53)
System\Windows\Forms\ControlTests.Methods.cs (43)
2408
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
2414
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2420
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
2426
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
2448
yield return new object[] { Rectangle.Empty, new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(0, 0, 0, 4) };
2454
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2460
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2466
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2472
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2581
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
2587
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2593
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
2599
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
2670
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
2676
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2682
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
2688
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
2720
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2726
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2732
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2738
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2770
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2776
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2782
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2788
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
8093
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8094
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Height
, 0, 0, 0, -4, 1 };
8095
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8096
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8097
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8098
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8099
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1 };
8100
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1 };
8101
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Height
, 0, 0, 0, 40, 1 };
8470
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8471
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Height
, 0, 0, 0, -4, 1, 2 };
8472
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8473
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8474
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8475
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8476
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1, 2 };
8477
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1, 2 };
8478
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Height
, 0, 0, 0, 40, 1, 2 };
System\Windows\Forms\ScrollBarTests.cs (8)
1780
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1786
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1792
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1798
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1828
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
1834
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1840
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
1846
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
TrackBarTests.cs (2)
2857
if ((specified & BoundsSpecified.
Height
) != 0)
2874
foreach (BoundsSpecified specified in new BoundsSpecified[] { BoundsSpecified.
Height
, BoundsSpecified.Size, BoundsSpecified.All })