52 writes to Height
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
99
Label.
Height
+= dialogHeightChange
101
Height
+= dialogHeightChange
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
487
Height
= this.RowTemplate.Height * 4 + this.ColumnHeadersHeight + 2;
System.Windows.Forms (25)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
172
control.
Height
= Twip2Pixel(value, xDirection: false);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2320
Height
= _requestedHeight;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
10165
int horizScrollBarHeight = _horizScrollBar.
Height
= SystemInformation.HorizontalScrollBarHeight;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1179
Height
= PreferredHeight;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
221
Height
= _requestedHeight;
555
Height
= _requestedHeight;
2232
Height
= _requestedHeight;
2480
Height
= Math.Max(Height, ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
79
Height
-= delta;
86
Height
+= delta;
305
_detailsButton.
Height
= _okButton.Height;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3762
DropDownListBox.
Height
= Math.Max(tm.tmHeight + 2, Math.Min(_maxListBoxHeight, DropDownListBox.PreferredHeight));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
591
listBox.
Height
= Math.Max(listBox.Height, listBox.ItemHeight);
622
CreateNewLink.
Height
= linkHeight + DropDownHolderBorder;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
256
Height
= requestedSize;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
1198
Height
= PreferredHeight;
1209
Height
= Math.Max(saveHeight, PreferredHeight + 2); // 2 = fudge factor
1215
Height
= saveHeight;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
386
Height
= _requestedDim;
704
Height
= _autoSize ? PreferredDimension : saveDim;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
639
Height
= PreferredHeight;
804
Height
= PreferredHeight;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
384
Height
+= delta;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
132
set => ((Panel)this).
Height
= value;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
818
_vScrollBar.
Height
= availableRect.Height - (horizontalScrollNeeded ? _hScrollBar.Height : 0);
System.Windows.Forms.Design (24)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
105
listBox.
Height
= Math.Max(tm.tmHeight + 2, Math.Min(ListBoxMaximumHeight, listBox.PreferredHeight));
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
49
Height
= height;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
116
EditControl.
Height
= _editRegionSize.Height - TextBoxLineInnerPadding * 2 - 1;
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
23
Height
= ScaleHelper.IsScalingRequired ? ScaleHelper.ScaleToInitialSystemDpi(310) : 310;
System\Windows\Forms\Design\DesignBindingPicker.cs (13)
142
Height
= ScaleHelper.ScaleToDpi(1, newDpi),
159
_addNewCtrl.
Height
= ScaleHelper.ScaleToPercent(_addNewCtrl.Height, scalePercent);
174
Height
= _addNewCtrl.Height,
182
Height
= ScaleHelper.ScaleToDpi(1, newDpi),
194
_helpTextCtrl.
Height
*= 2;
198
_addNewPanel.
Height
= addNewIcon.Height + 1;
205
_helpTextPanel.
Height
= helpTextHeight + 1;
269
Height
= 1,
299
Height
= addNewHeight,
309
_addNewPanel.
Height
= addNewHeight + 1;
314
Height
= 1,
326
_helpTextCtrl.
Height
*= 2;
334
_helpTextPanel.
Height
= helpTextHeight + 1;
System\Windows\Forms\Design\DesignerFrame.cs (2)
275
_splitter.
Height
= 7;
287
window.
Height
= minHeight;
System\Windows\Forms\Design\DocumentDesigner.cs (2)
221
_componentTray?.
Height
= _trayHeight;
864
_componentTray.
Height
= _trayHeight;
System\Windows\Forms\Design\FormatControl.cs (1)
322
formatTypeListBox.
Height
= tableLayoutPanel1.Bottom - formatTypeListBox.Top;
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
481
controls[i].
Height
= size.Height;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
377
_designMenu.
Height
= ScaleHelper.ScaleToInitialSystemDpi(_designMenu.Height);
197 references to Height
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
95
If labelSizeNeeded.Height > Label.
Height
Then
98
Dim dialogHeightChange As Integer = CInt(labelSizeNeeded.Height - Label.
Height
)
System.Windows.Forms (148)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
167
get => Pixel2Twip(GetControl()?.
Height
?? 0, xDirection: false);
System\Windows\Forms\ActiveX\AxHost.cs (1)
1556
SetExtent(Width,
Height
);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
465
PInvoke.SetWindowExtEx(hdcDraw, _control.Width, _control.
Height
, (SIZE*)&sWindowExt);
2010
rect.bottom = rect.top + _control.
Height
;
System\Windows\Forms\BoundsSpecified.cs (1)
40
/// Both <see cref="Control.Width"/> and <see cref="Control.
Height
"/>
System\Windows\Forms\Control.cs (8)
5004
int height = Math.Min(
Height
, targetBounds.Height);
8304
Rectangle shift = new(-Left, -Top, parent.Width, parent.
Height
);
8807
viewportOrg.Y +
Height
);
10143
/// <param name="height">The new <see cref="
Height
" /> property value of the control.</param>
10902
bool newSize = Width != width ||
Height
!= height || _clientWidth != clientWidth || _clientHeight != clientHeight;
11221
client = new Point(Width / 2,
Height
/ 2);
12012
if ((wp->flags & SET_WINDOW_POS_FLAGS.SWP_NOSIZE) == 0 && (wp->cx != Width || wp->cy !=
Height
))
12745
if (sizeProperty is not null && !sizeProperty.IsReadOnly && (bounds.Width != Width || bounds.Height !=
Height
))
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
386
Control.
Height
- (2 * ButtonBorderSize));
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
458
_horizScrollBar.Top = ClientRectangle.Height - _horizScrollBar.
Height
;
2132
rectDisplay.Height -= _horizScrollBar.
Height
;
2785
internal int HorizontalScrollBarHeight => _horizScrollBar.
Height
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4539
int oldThumbHeight = Math.Max(((_vertScrollBar.
Height
- 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange) / _vertScrollBar.Maximum, 8);
4550
(_vertScrollBar.
Height
- 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange / _vertScrollBar.Maximum,
9002
minimumHeight += _horizScrollBar.
Height
;
10305
_horizScrollBar.
Height
);
10322
_horizScrollBar.
Height
);
18816
pt.Y +=
Height
;
29966
client = new Point(Width / 2,
Height
/ 2);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (15)
404
if (!Application.RenderWithVisualStyles || Width < 10 ||
Height
< 10)
434
new Rectangle(0, 0, Width,
Height
),
445
new Rectangle(0, 0, Width,
Height
),
550
0, boxTop, 0,
Height
, // Left
551
0,
Height
- 1, Width,
Height
- 1, // Bottom
554
Width - 1, boxTop, Width - 1,
Height
- 1 // Right
574
1, boxTop, 1,
Height
- 1, // Left
575
0,
Height
- 1, Width,
Height
- 1, // Bottom
578
Width - 1, boxTop - 1, Width - 1,
Height
- 1 // Right
583
0, boxTop, 0,
Height
- 2, // Left
584
0,
Height
- 2, Width - 1,
Height
- 2, // Bottom
587
Width - 2, boxTop - 1, Width - 2,
Height
- 2 // Right
System\Windows\Forms\Controls\Labels\Label.cs (2)
84
_requestedHeight =
Height
;
1433
Rectangle rectInScreen = RectangleToScreen(new Rectangle(0, 0, Width,
Height
));
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
127
_requestedHeight =
Height
;
718
height =
Height
;
2083
if (!_integralHeightAdjust && height !=
Height
)
2480
Height = Math.Max(
Height
, ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (8)
2577
int sh = (int)Math.Round((Top +
Height
) * dy - sy);
2615
_gridView.Location = new Point(0, _toolStrip.
Height
+ _toolStrip.Top);
2656
helpRequestedHeight = (
Height
* _helpPaneSizeRatio) / 100;
2673
commandsRequestedHeight = (
Height
* _commandsPaneSizeRatio) / 100;
2714
_helpPaneSizeRatio = (_helpPane.
Height
* 100) /
Height
;
2747
_commandsPaneSizeRatio = (_commandsPane.
Height
* 100) /
Height
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (2)
117
new Rectangle(0, 0, Width,
Height
),
133
Rectangle dropDownButtonRect = new(0, 0, Width,
Height
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
73
int delta = _detailsTextBox.
Height
+ 8;
305
_detailsButton.Height = _okButton.
Height
;
310
int y = _detailsButton.Location.Y + _detailsButton.
Height
+ _detailsButton.Margin.Bottom;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
67
return
Height
/ _lineHeight;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1451
if (rectScreen.Y + rectScreen.Height < (size.Height + location.Y + EditTextBox.
Height
))
3766
bool resizable = DropDownListBox.Items.Count > (DropDownListBox.
Height
/ DropDownListBox.ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (8)
297
Size newSize = new(2 * DropDownHolderBorder + _currentControl.Width, 2 * DropDownHolderBorder + _currentControl.
Height
);
364
Rectangle bottomGrip = new(0,
Height
- s_resizeGripSize, s_resizeGripSize, s_resizeGripSize);
375
else if (!_resizeUp && Math.Abs(
Height
- y) < s_resizeBorderSize)
510
Rectangle lRect = new(0, _resizeUp ? 0 :
Height
- s_resizeGripSize, s_resizeGripSize, s_resizeGripSize);
514
int y = _resizeUp ? (s_resizeBarSize - 1) : (
Height
- s_resizeBarSize);
591
listBox.Height = Math.Max(listBox.
Height
, listBox.ItemHeight);
600
Size size = new(2 * DropDownHolderBorder + control.Width, 2 * DropDownHolderBorder + control.
Height
);
611
int linkHeight = CreateNewLink.
Height
;
System\Windows\Forms\Controls\Splitter\Splitter.cs (3)
662
dockHeight += ctl.
Height
;
784
size = splitTarget.
Height
+ delta;
787
size = splitTarget.
Height
- delta;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (5)
104
_requestedHeight =
Height
;
1202
int curHeight =
Height
;
1255
if (Width == 0 ||
Height
== 0)
1782
if (!_integralHeightAdjust && height !=
Height
)
2061
client = new Point(Width / 2,
Height
/ 2);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
136
_imageMarginBounds.Height =
Height
;
416
_imageMarginBounds = new Rectangle(0, 0, checkAndImageMarginWidth,
Height
);
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
86
preferredSize = new Size(GripThickness, ParentInternal.
Height
);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
96
bounds.Height = ParentInternal.
Height
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
444
int controlToDragWidth = (toolStripToDrag.AutoSize) ? toolStripToDrag.PreferredSize.Height : toolStripToDrag.
Height
;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
932
g.FillRectangle(brush, toolStrip.Width - 1, toolStrip.
Height
- 2, 1, 1);
933
g.FillRectangle(brush, toolStrip.Width - 2, toolStrip.
Height
- 1, 1, 1);
1148
b.TranslateTransform(parent.Width - control.Location.X, parent.
Height
- control.Location.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (2)
149
insertionRect = new Rectangle(item.Bounds.Right, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.
Height
- (_owner.Margin.Vertical) - 1);
152
insertionRect = new Rectangle(item.Bounds.Left, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.
Height
- (_owner.Margin.Vertical) - 1);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
835
vsRenderer.DrawBackground(e.Graphics, new Rectangle(0, 0, e.ToolStrip.Width - 1, e.ToolStrip.
Height
- 1));
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (5)
117
using RegionScope hTotalRegion = new(0, 0, Width,
Height
);
259
g.FillRectangle(brush, 0, 0, clientRect.Left,
Height
); // left border
260
g.FillRectangle(brush, 0, clientRect.Bottom, Width,
Height
- clientRect.Height); // bottom border
261
g.FillRectangle(brush, clientRect.Right, 0, Width - clientRect.Right,
Height
); // right border
265
g.DrawRectangle(pen, 0, 0, Width - 1,
Height
- 1);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1940
Height
,
1953
Height
,
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1352
client = new Point(Width / 2,
Height
/ 2);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.WebBrowserBaseNativeWindow.cs (1)
48
wp->cy = _webBrowserBase.
Height
;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
378
int delta = _details.
Height
+ _scaledHeightPadding;
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
233
y = _control.Top + (_control.
Height
- size.Height) / 2;
System\Windows\Forms\Form.cs (3)
3966
p.Y = Math.Max(screenRect.Y, screenRect.Y + (screenRect.Height -
Height
) / 2);
4395
Point pointToSnap = new(button.Left + button.Width / 2, button.Top + button.
Height
/ 2);
5296
if (WindowState == FormWindowState.Normal && (
Height
!= height || Width != width))
System\Windows\Forms\Layout\CommonProperties.cs (1)
265
/// <see cref="Control.Width"/>, <see cref="Control.
Height
"/>, <see cref="Control.Bounds"/>, property. (Its the
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1379
float yScaleFactor = (float)suggestedRectangle.Height /
Height
;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (34)
364
_panelSize =
Height
- SplitterDistanceInternal - SplitterWidthInternal;
397
return (
Height
>= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
678
if (value + SplitterWidthInternal >
Height
- Panel2MinSize)
680
value =
Height
- Panel2MinSize - SplitterWidthInternal;
705
_panelSize =
Height
- SplitterDistance - SplitterWidthInternal;
968
_splitterDistance = (_splitterDistance + SplitterWidth >
Height
- Panel2MinSize - _borderSize) ? _splitterDistance - SplitterIncrement : _splitterDistance;
1097
y = Math.Max(Math.Min(y,
Height
- Panel2MinSize), Panel1MinSize);
1266
if (DesignMode &&
Height
!= DefaultSize.Height && value + Panel2MinSize + SplitterWidth >
Height
)
1295
if (DesignMode &&
Height
!= DefaultSize.Height && value + Panel1MinSize + SplitterWidth >
Height
)
1324
if (DesignMode && value + Panel1MinSize + Panel2MinSize >
Height
)
1380
r.Height =
Height
;
1527
return Math.Max(Math.Min(size,
Height
- Panel2MinSize), Panel1MinSize);
1574
_splitterRect.Height =
Height
;
1604
else if (
Height
== 0)
1619
Panel1.Size = new Size(_panelSize,
Height
);
1620
Panel2.Size = new Size(Math.Max(Width - _panelSize - SplitterWidthInternal, Panel2MinSize),
Height
);
1625
Panel2.Size = new Size(_panelSize,
Height
);
1628
Panel1.HeightInternal =
Height
;
1639
Panel1.HeightInternal =
Height
;
1640
Panel2.Size = new Size(Math.Max(Width - _splitterDistance - SplitterWidthInternal, Panel2MinSize),
Height
);
1679
Panel2.Size = new Size(Width, Math.Max(
Height
- panel2Start, Panel2MinSize));
1686
_splitterDistance = Math.Max(
Height
- Panel2.Height - SplitterWidthInternal, Panel1MinSize);
1698
_splitterDistance = Math.Max((int)(Math.Floor(
Height
/ _ratioHeight)), Panel1MinSize);
1704
Panel2.Size = new Size(Width, Math.Max(
Height
- panel2Start, Panel2MinSize));
2122
if (size + SplitterWidthInternal <=
Height
- Panel2MinSize - _borderSize)
2176
Panel1.HeightInternal =
Height
;
2178
Panel2.Size = new Size(Width - _splitterDistance - SplitterWidthInternal,
Height
);
2228
Panel2.Size = new Size(Width,
Height
- panel2Start);
2236
_ratioHeight = (
Height
/ (double)(Panel1.Height) > 0) ?
Height
/ (double)(Panel1.Height) : _ratioHeight;
2255
_ratioHeight = (
Height
/ (double)(_splitterDistance) > 0) ?
Height
/ (double)(_splitterDistance) : _ratioHeight;
System\Windows\Forms\Panels\SplitterPanel.cs (2)
125
get => Collapsed ? 0 : base.
Height
;
131
get => ((Panel)this).
Height
;
System\Windows\Forms\Printing\PrintPreviewControl.cs (8)
445
rect.Height -= _hScrollBar.
Height
;
462
private Rectangle FocusRectangle => new(0, 0, Width - 1,
Height
- 1);
464
private Rectangle ResizeBoxRectangle => new(_vScrollBar.Left, _hScrollBar.Top, _vScrollBar.Width, _hScrollBar.
Height
);
801
_hScrollBar.Top = availableRect.Bottom - _hScrollBar.
Height
;
818
_vScrollBar.Height = availableRect.Height - (horizontalScrollNeeded ? _hScrollBar.
Height
: 0);
835
offset: (horizontalScrollNeeded ? _hScrollBar.
Height
: 0));
855
bool vertical = _virtualSize.Height > displaySize.Height && displaySize.Height > _hScrollBar.
Height
;
864
vertical = _virtualSize.Height > (displaySize.Height - _hScrollBar.
Height
);
System.Windows.Forms.Design (43)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (2)
196
Rectangle bounds = new(0, 0, Width,
Height
);
266
ContextMenuStrip.Show(this, 0,
Height
);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
485
e.Graphics.DrawRectangle(borderPen, new Rectangle(0, 0, Width - 1,
Height
- 1));
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (5)
70
ButtonRenderer.DrawButton(g, new Rectangle(-1, -1, Width + 2,
Height
+ 2), "…", Font, Focused, buttonState);
93
ComboBoxRenderer.DrawDropDownButton(g, new Rectangle(0, 0, Width,
Height
), state);
116
new Rectangle(-1, -1, Width + 2,
Height
+ 2),
139
(
Height
- imageHeight + 1) / 2,
155
ControlPaint.DrawFocusRectangle(g, new Rectangle(2, 2, Width - 5,
Height
- 5));
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
37
int height = Math.Max(_hostedControl.
Height
, SystemInformation.MinimizedWindowSize.Height);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
557
(targetControl.
Height
== minHeight))
935
if (propHeight is not null && _resizeComponents[i].resizeControl.
Height
!= _resizeComponents[i].resizeBounds.Height)
937
propHeight.SetValue(_resizeComponents[i].resizeControl, _resizeComponents[i].resizeControl.
Height
);
System\Windows\Forms\Design\ComponentTray.cs (1)
2755
int height = o1.
Height
/ 2;
System\Windows\Forms\Design\ControlCommandSet.cs (4)
498
lines.Add(new SnapLine(SnapLineType.Bottom, pt.Y + primaryControl.
Height
- 1));
499
lines.Add(new SnapLine(SnapLineType.Horizontal, pt.Y + primaryControl.
Height
+ primaryControl.Margin.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always));
715
primaryControl.Width + moveOffsetX, primaryControl.
Height
+ moveOffsetY);
727
moveOffsetY = newRect.Height - primaryControl.
Height
;
System\Windows\Forms\Design\ControlDesigner.cs (1)
349
int height = Control.
Height
;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (3)
306
_sampleDataGridView.Rows[0].Height = _sampleDataGridView.
Height
;
309
_sampleDataGridViewSelected.Rows[0].Height = _sampleDataGridViewSelected.
Height
;
332
dataGridView.Rows[0].Height = dataGridView.
Height
;
System\Windows\Forms\Design\DesignBindingPicker.cs (8)
159
_addNewCtrl.Height = ScaleHelper.ScaleToPercent(_addNewCtrl.
Height
, scalePercent);
173
Width = _addNewCtrl.
Height
,
174
Height = _addNewCtrl.
Height
,
196
int helpTextHeight = ScaleHelper.ScaleToPercent(_helpTextCtrl.
Height
, scalePercent);
198
_addNewPanel.Height = addNewIcon.
Height
+ 1;
284
int addNewHeight = _addNewCtrl.
Height
;
285
int addNewWidth = _addNewCtrl.
Height
;
327
int helpTextHeight = ScaleHelper.ScaleToInitialSystemDpi(_helpTextCtrl.
Height
);
System\Windows\Forms\Design\DesignerFrame.cs (1)
285
if (window.
Height
< minHeight)
System\Windows\Forms\Design\DesignerUtils.cs (2)
391
Math.Max(control.
Height
, s_minimumControlBitmapSize),
424
Math.Max(control.
Height
, s_minimumControlBitmapSize),
System\Windows\Forms\Design\DocumentDesigner.cs (1)
217
get => _componentTray is not null ? _componentTray.
Height
: _trayHeight;
System\Windows\Forms\Design\FormatControl.cs (4)
360
tableLayoutPanel1.MinimumSize = new Drawing.Size(tableLayoutPanel1.Width, tableLayoutPanel1.
Height
);
374
minHeight = nullValueLabel.
Height
;
378
minHeight = Math.Max(minHeight, secondRowLabel.
Height
);
382
minHeight = Math.Max(minHeight, secondRowLabel.
Height
);
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
420
if (newChild.Left == 0 && newChild.Top == 0 && newChild.Width >= Control.Width && newChild.
Height
>= Control.
Height
)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
377
_designMenu.Height = ScaleHelper.ScaleToInitialSystemDpi(_designMenu.
Height
);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
1212
ToolStripItem.Height = _editorNode.EditorToolStrip.
Height
;
1230
boundsInAdornerWindow.Y += (ToolStripItem.Height - _editorNode.EditorToolStrip.
Height
) / 2;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
537
nameof(ToolStripPanel.
Height
),
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (1)
629
SafeNativeMethods.SetWindowPos(_hwndSource.Handle, NativeMethods.HWND_TOP, 0, 0, this.Width, this.
Height
, 0);
System\Windows\Integration\HostUtils.cs (3)
296
int height = control.Width <= 0 ? 1 : control.
Height
;
332
drawingContext.DrawRectangle(brush, null, new Rect(0, 0, adapter.Width, adapter.
Height
));
335
RenderTargetBitmap bmp = GetRenderTargetBitmapForVisual(adapter.Width, adapter.
Height
, drawingVisual);