79 references to Height
System.Windows.Forms (16)
System\Windows\Forms\BoundsSpecified.cs (1)
43
Size = Width |
Height
,
System\Windows\Forms\Control.cs (4)
2157
set => SetBounds(_x, _y, _width, value, BoundsSpecified.
Height
);
5292
if ((_controlStyle & ControlStyles.FixedHeight) != ControlStyles.FixedHeight && (specified & BoundsSpecified.
Height
) != 0)
9691
specified &= ~(BoundsSpecified.Y | BoundsSpecified.
Height
);
9981
if ((specified & BoundsSpecified.
Height
) == BoundsSpecified.None)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3261
if ((specified & BoundsSpecified.
Height
) != BoundsSpecified.None && DropDownStyle == ComboBoxStyle.Simple)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
27450
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)
1017
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)
298
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)
1670
if ((specified & BoundsSpecified.
Height
) == BoundsSpecified.
Height
)
System.Windows.Forms.Tests (53)
System\Windows\Forms\ControlTests.Methods.cs (43)
2439
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
2445
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2451
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
2457
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
2479
yield return new object[] { Rectangle.Empty, new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(0, 0, 0, 4) };
2485
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2491
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2497
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2503
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2612
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
2618
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2624
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
2630
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
2701
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
2707
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2713
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
2719
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, -12) };
2751
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2757
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2763
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2769
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2801
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2807
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2813
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
2819
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
8124
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8125
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Height
, 0, 0, 0, -4, 1 };
8126
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8127
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8128
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8129
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0 };
8130
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1 };
8131
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1 };
8132
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Height
, 0, 0, 0, 40, 1 };
8501
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8502
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Height
, 0, 0, 0, -4, 1, 2 };
8503
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8504
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8505
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8506
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Height
, 0, 0, 0, 0, 0, 0 };
8507
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1, 2 };
8508
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Height
, 0, 0, 0, 2, 1, 2 };
8509
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Height
, 0, 0, 0, 40, 1, 2 };
System\Windows\Forms\ScrollBarTests.cs (8)
1778
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1784
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1790
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1796
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(-2, -3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1826
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(0, 0), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 0) };
1832
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 4) };
1838
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(2, 3), BoundsSpecified.
Height
, new Rectangle(1, 2, 3, 12) };
1844
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)
2855
if ((specified & BoundsSpecified.
Height
) != 0)
2872
foreach (BoundsSpecified specified in new BoundsSpecified[] { BoundsSpecified.
Height
, BoundsSpecified.Size, BoundsSpecified.All })