99 writes to Height
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
99Label.Height += dialogHeightChange 101Height += dialogHeightChange
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
481Height = this.RowTemplate.Height * 4 + this.ColumnHeadersHeight + 2;
System.Windows.Forms (25)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
172control.Height = Twip2Pixel(value, xDirection: false);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2322Height = _requestedHeight;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
10171int horizScrollBarHeight = _horizScrollBar.Height = SystemInformation.HorizontalScrollBarHeight;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1181Height = PreferredHeight;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
225Height = _requestedHeight; 557Height = _requestedHeight; 2234Height = _requestedHeight; 2482Height = Math.Max(Height, ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
79Height -= delta; 86Height += delta; 305_detailsButton.Height = _okButton.Height;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3724DropDownListBox.Height = Math.Max(tm.tmHeight + 2, Math.Min(_maxListBoxHeight, DropDownListBox.PreferredHeight));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
591listBox.Height = Math.Max(listBox.Height, listBox.ItemHeight); 622CreateNewLink.Height = linkHeight + DropDownHolderBorder;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
257Height = requestedSize;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
1183Height = PreferredHeight; 1194Height = Math.Max(saveHeight, PreferredHeight + 2); // 2 = fudge factor 1200Height = saveHeight;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
388Height = _requestedDim; 706Height = _autoSize ? PreferredDimension : saveDim;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
641Height = PreferredHeight; 806Height = PreferredHeight;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
384Height += delta;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
132set => ((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)
105listBox.Height = Math.Max(tm.tmHeight + 2, Math.Min(ListBoxMaximumHeight, listBox.PreferredHeight));
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
49Height = height;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
116EditControl.Height = _editRegionSize.Height - TextBoxLineInnerPadding * 2 - 1;
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
22Height = 310;
System\Windows\Forms\Design\DesignBindingPicker.cs (13)
142Height = ScaleHelper.ScaleToDpi(1, newDpi), 159_addNewCtrl.Height = ScaleHelper.ScaleToPercent(_addNewCtrl.Height, scalePercent); 174Height = _addNewCtrl.Height, 182Height = ScaleHelper.ScaleToDpi(1, newDpi), 194_helpTextCtrl.Height *= 2; 198_addNewPanel.Height = addNewIcon.Height + 1; 205_helpTextPanel.Height = helpTextHeight + 1; 269Height = 1, 299Height = addNewHeight, 309_addNewPanel.Height = addNewHeight + 1; 314Height = 1, 326_helpTextCtrl.Height *= 2; 334_helpTextPanel.Height = helpTextHeight + 1;
System\Windows\Forms\Design\DesignerFrame.cs (2)
278_splitter.Height = 7; 290window.Height = minHeight;
System\Windows\Forms\Design\DocumentDesigner.cs (2)
232_componentTray.Height = _trayHeight; 906_componentTray.Height = _trayHeight;
System\Windows\Forms\Design\FormatControl.cs (1)
322formatTypeListBox.Height = tableLayoutPanel1.Bottom - formatTypeListBox.Top;
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
511controls[i].Height = size.Height;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
386_designMenu.Height = ScaleHelper.ScaleToInitialSystemDpi(_designMenu.Height);
System.Windows.Forms.Tests (36)
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (2)
14Height = 87 44Height = 87
System\Windows\Forms\ControlTests.Methods.cs (5)
1887Height = 20, 1901Height = 20, 1938Height = 20 1952Height = 20 1966Height = height
System\Windows\Forms\ControlTests.Properties.cs (12)
5727control.Height = value; 5746control.Height = value; 5837control.Height = value; 5856control.Height = value; 5925control.Height = value; 5944control.Height = value; 6033control.Height = value; 6053control.Height = value; 6145control.Height = value; 6167control.Height = value; 6282control.Height = value; 6309control.Height = value;
System\Windows\Forms\ScrollableControlTests.cs (1)
231Height = childHeight
System\Windows\Forms\SplitterTests.cs (9)
431Height = 40 497Height = 40 1143Height = 100 1198Height = 100 1243Height = 100 1315Height = 100 1362Height = 100 2010Height = 100 2111Height = 100
System\Windows\Forms\TreeViewTests.cs (1)
7566treeView.Height = 100;
TextBoxBaseTests.cs (1)
3942Height = 0
WebBrowserBaseTests.cs (5)
670Height = 20, 684Height = 20, 721Height = 20 735Height = 20 749Height = height
System.Windows.Forms.UI.IntegrationTests (4)
DragDropTests.cs (1)
1002Height = 35,
ListBoxItemAccessibleObjestTests.cs (1)
25listBox.Height = 200;
MDITests.cs (2)
30form.Height += 100; 53form.Height += 100;
WinFormsControlsTest (7)
DragDrop.cs (1)
424Height = 35,
FormShowInTaskbar.cs (4)
14Height = 460; 21Height = 60, 34Height = 400, 42Height = 60,
RichTextBoxes.cs (1)
122Height = 150,
TrackBars.cs (1)
50trackBar1.Height = ClientRectangle.Height - trackBar1.Top * 2;
573 references to Height
DesignSurface (1)
MainForm.cs (1)
352Panel panel = surface.CreateControl<Panel>(new(0, tabPage6.Height / 2), new(0, 0));
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
95If labelSizeNeeded.Height > Label.Height Then 98Dim dialogHeightChange As Integer = CInt(labelSizeNeeded.Height - Label.Height)
System.Windows.Forms (139)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
167get => Pixel2Twip(GetControl()?.Height ?? 0, xDirection: false);
System\Windows\Forms\ActiveX\AxHost.cs (1)
1559SetExtent(Width, Height);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
465PInvoke.SetWindowExtEx(hdcDraw, _control.Width, _control.Height, (SIZE*)&sWindowExt); 2010rect.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)
4917int height = Math.Min(Height, targetBounds.Height); 8227Rectangle shift = new(-Left, -Top, parent.Width, parent.Height); 8730viewportOrg.Y + Height); 10049/// <param name="height">The new <see cref="Height" /> property value of the control.</param> 10794bool newSize = Width != width || Height != height || _clientWidth != clientWidth || _clientHeight != clientHeight; 11113client = new Point(Width / 2, Height / 2); 11903if ((wp->flags & SET_WINDOW_POS_FLAGS.SWP_NOSIZE) == 0 && (wp->cx != Width || wp->cy != Height)) 12636if (sizeProperty is not null && !sizeProperty.IsReadOnly && (bounds.Width != Width || bounds.Height != Height))
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
384Control.Height - (2 * ButtonBorderSize));
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
462_horizScrollBar.Top = ClientRectangle.Height - _horizScrollBar.Height; 2125rectDisplay.Height -= _horizScrollBar.Height; 2778internal int HorizontalScrollBarHeight => _horizScrollBar.Height;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4545int oldThumbHeight = Math.Max(((_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange) / _vertScrollBar.Maximum, 8); 4556(_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange / _vertScrollBar.Maximum, 9008minimumHeight += _horizScrollBar.Height; 10311_horizScrollBar.Height); 10328_horizScrollBar.Height); 18825pt.Y += Height; 29980client = new Point(Width / 2, Height / 2);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (15)
404if (!Application.RenderWithVisualStyles || Width < 10 || Height < 10) 434new Rectangle(0, 0, Width, Height), 445new Rectangle(0, 0, Width, Height), 5510, boxTop, 0, Height, // Left 5520, Height - 1, Width, Height - 1, // Bottom 555Width - 1, boxTop, Width - 1, Height - 1 // Right 5751, boxTop, 1, Height - 1, // Left 5760, Height - 1, Width, Height - 1, // Bottom 579Width - 1, boxTop - 1, Width - 1, Height - 1 // Right 5840, boxTop, 0, Height - 2, // Left 5850, Height - 2, Width - 1, Height - 2, // Bottom 588Width - 2, boxTop - 1, Width - 2, Height - 2 // Right
System\Windows\Forms\Controls\Labels\Label.cs (2)
88_requestedHeight = Height; 1435Rectangle rectInScreen = RectangleToScreen(new Rectangle(0, 0, Width, Height));
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
131_requestedHeight = Height; 720height = Height; 2085if (!_integralHeightAdjust && height != Height) 2482Height = Math.Max(Height, ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
84Rectangle dropDownButtonRect = new(0, 0, Width, Height);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
73int delta = _detailsTextBox.Height + 8; 305_detailsButton.Height = _okButton.Height; 310int y = _detailsButton.Location.Y + _detailsButton.Height + _detailsButton.Margin.Bottom;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
65return Height / _lineHeight;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1428if (rectScreen.Y + rectScreen.Height < (size.Height + location.Y + EditTextBox.Height)) 3728bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (8)
297Size newSize = new(2 * DropDownHolderBorder + _currentControl.Width, 2 * DropDownHolderBorder + _currentControl.Height); 364Rectangle bottomGrip = new(0, Height - s_resizeGripSize, s_resizeGripSize, s_resizeGripSize); 375else if (!_resizeUp && Math.Abs(Height - y) < s_resizeBorderSize) 510Rectangle lRect = new(0, _resizeUp ? 0 : Height - s_resizeGripSize, s_resizeGripSize, s_resizeGripSize); 514int y = _resizeUp ? (s_resizeBarSize - 1) : (Height - s_resizeBarSize); 591listBox.Height = Math.Max(listBox.Height, listBox.ItemHeight); 600Size size = new(2 * DropDownHolderBorder + control.Width, 2 * DropDownHolderBorder + control.Height); 611int linkHeight = CreateNewLink.Height;
System\Windows\Forms\Controls\Splitter\Splitter.cs (3)
663dockHeight += ctl.Height; 785size = splitTarget.Height + delta; 788size = splitTarget.Height - delta;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (5)
108_requestedHeight = Height; 1187int curHeight = Height; 1240if (Width == 0 || Height == 0) 1765if (!_integralHeightAdjust && height != Height) 2044client = 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)
86preferredSize = new Size(GripThickness, ParentInternal.Height);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
96bounds.Height = ParentInternal.Height;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
444int controlToDragWidth = (toolStripToDrag.AutoSize) ? toolStripToDrag.PreferredSize.Height : toolStripToDrag.Height;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
933g.FillRectangle(brush, toolStrip.Width - 1, toolStrip.Height - 2, 1, 1); 934g.FillRectangle(brush, toolStrip.Width - 2, toolStrip.Height - 1, 1, 1); 1149b.TranslateTransform(parent.Width - control.Location.X, parent.Height - control.Location.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (2)
149insertionRect = new Rectangle(item.Bounds.Right, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1); 152insertionRect = 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)
776vsRenderer.DrawBackground(e.Graphics, new Rectangle(0, 0, e.ToolStrip.Width - 1, e.ToolStrip.Height - 1));
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (5)
117using RegionScope hTotalRegion = new(0, 0, Width, Height); 259g.FillRectangle(brush, 0, 0, clientRect.Left, Height); // left border 260g.FillRectangle(brush, 0, clientRect.Bottom, Width, Height - clientRect.Height); // bottom border 261g.FillRectangle(brush, clientRect.Right, 0, Width - clientRect.Right, Height); // right border 265g.DrawRectangle(pen, 0, 0, Width - 1, Height - 1);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1943Height, 1956Height,
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1356client = new Point(Width / 2, Height / 2);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.WebBrowserBaseNativeWindow.cs (1)
48wp->cy = _webBrowserBase.Height;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
378int delta = _details.Height + _scaledHeightPadding;
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
233y = _control.Top + (_control.Height - size.Height) / 2;
System\Windows\Forms\Form.cs (3)
3915p.Y = Math.Max(screenRect.Y, screenRect.Y + (screenRect.Height - Height) / 2); 4355Point pointToSnap = new(button.Left + button.Width / 2, button.Top + button.Height / 2); 5225if (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)
1386float yScaleFactor = (float)suggestedRectangle.Height / Height;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (34)
364_panelSize = Height - SplitterDistanceInternal - SplitterWidthInternal; 397return (Height >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize); 678if (value + SplitterWidthInternal > Height - Panel2MinSize) 680value = Height - Panel2MinSize - SplitterWidthInternal; 705_panelSize = Height - SplitterDistance - SplitterWidthInternal; 968_splitterDistance = (_splitterDistance + SplitterWidth > Height - Panel2MinSize - _borderSize) ? _splitterDistance - SplitterIncrement : _splitterDistance; 1097y = Math.Max(Math.Min(y, Height - Panel2MinSize), Panel1MinSize); 1266if (DesignMode && Height != DefaultSize.Height && value + Panel2MinSize + SplitterWidth > Height) 1295if (DesignMode && Height != DefaultSize.Height && value + Panel1MinSize + SplitterWidth > Height) 1324if (DesignMode && value + Panel1MinSize + Panel2MinSize > Height) 1380r.Height = Height; 1527return Math.Max(Math.Min(size, Height - Panel2MinSize), Panel1MinSize); 1574_splitterRect.Height = Height; 1604else if (Height == 0) 1619Panel1.Size = new Size(_panelSize, Height); 1620Panel2.Size = new Size(Math.Max(Width - _panelSize - SplitterWidthInternal, Panel2MinSize), Height); 1625Panel2.Size = new Size(_panelSize, Height); 1628Panel1.HeightInternal = Height; 1639Panel1.HeightInternal = Height; 1640Panel2.Size = new Size(Math.Max(Width - _splitterDistance - SplitterWidthInternal, Panel2MinSize), Height); 1679Panel2.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); 1704Panel2.Size = new Size(Width, Math.Max(Height - panel2Start, Panel2MinSize)); 2122if (size + SplitterWidthInternal <= Height - Panel2MinSize - _borderSize) 2176Panel1.HeightInternal = Height; 2178Panel2.Size = new Size(Width - _splitterDistance - SplitterWidthInternal, Height); 2228Panel2.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)
125get => Collapsed ? 0 : base.Height; 131get => ((Panel)this).Height;
System\Windows\Forms\Printing\PrintPreviewControl.cs (8)
445rect.Height -= _hScrollBar.Height; 462private Rectangle FocusRectangle => new(0, 0, Width - 1, Height - 1); 464private 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); 835offset: (horizontalScrollNeeded ? _hScrollBar.Height : 0)); 855bool vertical = _virtualSize.Height > displaySize.Height && displaySize.Height > _hScrollBar.Height; 864vertical = _virtualSize.Height > (displaySize.Height - _hScrollBar.Height);
System.Windows.Forms.Design (43)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (2)
196Rectangle bounds = new(0, 0, Width, Height); 266ContextMenuStrip.Show(this, 0, Height);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
488e.Graphics.DrawRectangle(borderPen, new Rectangle(0, 0, Width - 1, Height - 1));
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (5)
70ButtonRenderer.DrawButton(g, new Rectangle(-1, -1, Width + 2, Height + 2), "…", Font, Focused, buttonState); 93ComboBoxRenderer.DrawDropDownButton(g, new Rectangle(0, 0, Width, Height), state); 116new Rectangle(-1, -1, Width + 2, Height + 2), 139(Height - imageHeight + 1) / 2, 155ControlPaint.DrawFocusRectangle(g, new Rectangle(2, 2, Width - 5, Height - 5));
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
37int height = Math.Max(_hostedControl.Height, SystemInformation.MinimizedWindowSize.Height);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
557(targetControl.Height == minHeight)) 935if (propHeight is not null && _resizeComponents[i].resizeControl.Height != _resizeComponents[i].resizeBounds.Height) 937propHeight.SetValue(_resizeComponents[i].resizeControl, _resizeComponents[i].resizeControl.Height);
System\Windows\Forms\Design\ComponentTray.cs (1)
2776int height = o1.Height / 2;
System\Windows\Forms\Design\ControlCommandSet.cs (4)
501lines.Add(new SnapLine(SnapLineType.Bottom, pt.Y + primaryControl.Height - 1)); 502lines.Add(new SnapLine(SnapLineType.Horizontal, pt.Y + primaryControl.Height + primaryControl.Margin.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always)); 718primaryControl.Width + moveOffsetX, primaryControl.Height + moveOffsetY); 730moveOffsetY = newRect.Height - primaryControl.Height;
System\Windows\Forms\Design\ControlDesigner.cs (1)
349int height = Control.Height;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (3)
306_sampleDataGridView.Rows[0].Height = _sampleDataGridView.Height; 309_sampleDataGridViewSelected.Rows[0].Height = _sampleDataGridViewSelected.Height; 332dataGridView.Rows[0].Height = dataGridView.Height;
System\Windows\Forms\Design\DesignBindingPicker.cs (8)
159_addNewCtrl.Height = ScaleHelper.ScaleToPercent(_addNewCtrl.Height, scalePercent); 173Width = _addNewCtrl.Height, 174Height = _addNewCtrl.Height, 196int helpTextHeight = ScaleHelper.ScaleToPercent(_helpTextCtrl.Height, scalePercent); 198_addNewPanel.Height = addNewIcon.Height + 1; 284int addNewHeight = _addNewCtrl.Height; 285int addNewWidth = _addNewCtrl.Height; 327int helpTextHeight = ScaleHelper.ScaleToInitialSystemDpi(_helpTextCtrl.Height);
System\Windows\Forms\Design\DesignerFrame.cs (1)
288if (window.Height < minHeight)
System\Windows\Forms\Design\DesignerUtils.cs (2)
391Math.Max(control.Height, s_minimumControlBitmapSize), 424Math.Max(control.Height, s_minimumControlBitmapSize),
System\Windows\Forms\Design\DocumentDesigner.cs (1)
226get => _componentTray is not null ? _componentTray.Height : _trayHeight;
System\Windows\Forms\Design\FormatControl.cs (4)
360tableLayoutPanel1.MinimumSize = new Drawing.Size(tableLayoutPanel1.Width, tableLayoutPanel1.Height); 374minHeight = nullValueLabel.Height; 378minHeight = Math.Max(minHeight, secondRowLabel.Height); 382minHeight = Math.Max(minHeight, secondRowLabel.Height);
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
420if (newChild.Left == 0 && newChild.Top == 0 && newChild.Width >= Control.Width && newChild.Height >= Control.Height)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
386_designMenu.Height = ScaleHelper.ScaleToInitialSystemDpi(_designMenu.Height);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
1236ToolStripItem.Height = _editorNode.EditorToolStrip.Height; 1254boundsInAdornerWindow.Y += (ToolStripItem.Height - _editorNode.EditorToolStrip.Height) / 2;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
549nameof(ToolStripPanel.Height),
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\ByteViewerTests.cs (7)
35Assert.Equal(new Rectangle(0, 0, control.Width, control.Height), control.Bounds); 43Assert.Equal(new Rectangle(0, 0, control.Width, control.Height), control.ClientRectangle); 44Assert.Equal(new Size(control.Width, control.Height), control.ClientSize); 65Assert.Equal(new Rectangle(0, 0, control.Width, control.Height), control.DisplayRectangle); 83Assert.True(control.Height > 0); 116Assert.Equal(new Size(control.Width, control.Height), control.Size); 141Assert.Equal(control.Height, createParams.Height);
System.Windows.Forms.Tests (370)
System\Windows\Forms\AxHostTests.cs (2)
80Assert.Equal(23, control.Height); 174Assert.Equal(23, control.Height);
System\Windows\Forms\ButtonBaseTests.cs (1)
72Assert.Equal(23, control.Height);
System\Windows\Forms\ButtonRenderingTests.cs (1)
242new Rectangle(0, 0, button.Width - 1, button.Height - 1),
System\Windows\Forms\ButtonTests.cs (1)
75Assert.Equal(23, control.Height);
System\Windows\Forms\CheckBoxTests.cs (1)
76Assert.Equal(24, control.Height);
System\Windows\Forms\ComboBoxTests.cs (4)
86Assert.Equal(control.PreferredHeight, control.Height); 2728comboBox.Height.Should().Be(23); 2732comboBox.Height.Should().Be(23); 2738comboBox.Height.Should().Be(150);
System\Windows\Forms\ContainerControlTests.cs (1)
83Assert.Equal(0, control.Height);
System\Windows\Forms\ControlTests.cs (5)
64Assert.Equal(0, control.Height); 153Assert.Equal(0, control.Height); 249Assert.Equal(height, control.Height); 345Assert.Equal(0, control.Height); 441Assert.Equal(height, control.Height);
System\Windows\Forms\ControlTests.Methods.cs (74)
7434Assert.Equal(height, control.Height); 7453Assert.Equal(height, control.Height); 7545Assert.Equal(expectedHeight, control.Height); 7564Assert.Equal(expectedHeight, control.Height); 7643Assert.Equal(height, control.Height); 7662Assert.Equal(height, control.Height); 7761Assert.Equal(height, control.Height); 7781Assert.Equal(height, control.Height); 7884Assert.Equal(expectedHeight, control.Height); 7906Assert.Equal(expectedHeight, control.Height); 8032Assert.Equal(expectedHeight, control.Height); 8059Assert.Equal(expectedHeight, control.Height); 8221Assert.Equal(expectedHeight, control.Height); 8240Assert.Equal(expectedHeight, control.Height); 8332Assert.Equal(expectedHeight, control.Height); 8351Assert.Equal(expectedHeight, control.Height); 8430Assert.Equal(expectedHeight, control.Height); 8449Assert.Equal(expectedHeight, control.Height); 8618Assert.Equal(expectedHeight, control.Height); 8638Assert.Equal(expectedHeight, control.Height); 8741Assert.Equal(expectedHeight, control.Height); 8763Assert.Equal(expectedHeight, control.Height); 8889Assert.Equal(expectedHeight, control.Height); 8916Assert.Equal(expectedHeight, control.Height); 9035Assert.Equal(height, control.Height); 9056Assert.Equal(height, control.Height); 9177Assert.Equal(expectedHeight, control.Height); 9198Assert.Equal(expectedHeight, control.Height); 9306Assert.Equal(height, control.Height); 9327Assert.Equal(height, control.Height); 9443Assert.Equal(height, control.Height); 9465Assert.Equal(height, control.Height); 9598Assert.Equal(expectedHeight, control.Height); 9622Assert.Equal(expectedHeight, control.Height); 9756Assert.Equal(expectedHeight, control.Height); 9785Assert.Equal(expectedHeight, control.Height); 9867Assert.Equal(expectedSize.Height, control.Height); 9883Assert.Equal(expectedSize.Height, control.Height); 9915Assert.Equal(expectedSize.Height, control.Height); 9934Assert.Equal(expectedSize.Height, control.Height); 10390Assert.Equal(0, control.Height); 10409Assert.Equal(0, control.Height); 10457Assert.True(control.Height >= 0); 10490Assert.True(control.Height >= 0); 10564Assert.Equal(0, control.Height); 10583Assert.Equal(0, control.Height); 10656Assert.Equal(0, control.Height); 10675Assert.Equal(0, control.Height); 10747Assert.Equal(0, control.Height); 10769Assert.Equal(0, control.Height); 10814Assert.Equal(4, control.Height); 10836Assert.Equal(4, control.Height); 10892Assert.Equal(4, control.Height); 10918Assert.Equal(4, control.Height); 11004Assert.Equal(height, control.Height); 11023Assert.Equal(height, control.Height); 11115Assert.Equal(height, control.Height); 11134Assert.Equal(height, control.Height); 11213Assert.Equal(height, control.Height); 11232Assert.Equal(height, control.Height); 11322Assert.Equal(height, control.Height); 11342Assert.Equal(height, control.Height); 11445Assert.Equal(height, control.Height); 11467Assert.Equal(height, control.Height); 11574Assert.Equal(height, control.Height); 11601Assert.Equal(height, control.Height); 11699Assert.Equal(height, control.Height); 11718Assert.Equal(height, control.Height); 11808Assert.Equal(height, control.Height); 11828Assert.Equal(height, control.Height); 11943Assert.Equal(height, control.Height); 11965Assert.Equal(height, control.Height); 12072Assert.Equal(height, control.Height); 12099Assert.Equal(height, control.Height);
System\Windows\Forms\ControlTests.Properties.cs (76)
2487Assert.Equal(height, control.Height); 2506Assert.Equal(height, control.Height); 2576Assert.Equal(expectedHeight, control.Height); 2595Assert.Equal(expectedHeight, control.Height); 2661Assert.Equal(height, control.Height); 2680Assert.Equal(height, control.Height); 2766Assert.Equal(height, control.Height); 2786Assert.Equal(height, control.Height); 2866Assert.Equal(expectedHeight, control.Height); 2888Assert.Equal(expectedHeight, control.Height); 2991Assert.Equal(expectedHeight, control.Height); 3018Assert.Equal(expectedHeight, control.Height); 3390Assert.Equal(expectedSize.Height, control.Height); 3406Assert.Equal(expectedSize.Height, control.Height); 3453Assert.Equal(expectedSize.Height, control.Height); 3472Assert.Equal(expectedSize.Height, control.Height); 5737Assert.Equal(value, control.Height); 5756Assert.Equal(value, control.Height); 5847Assert.Equal(expectedHeight, control.Height); 5866Assert.Equal(expectedHeight, control.Height); 5935Assert.Equal(value, control.Height); 5954Assert.Equal(value, control.Height); 6043Assert.Equal(value, control.Height); 6063Assert.Equal(value, control.Height); 6155Assert.Equal(expectedHeight, control.Height); 6177Assert.Equal(expectedHeight, control.Height); 6292Assert.Equal(expectedHeight, control.Height); 6319Assert.Equal(expectedHeight, control.Height); 6701Assert.Equal(0, control.Height); 6723Assert.Equal(0, control.Height); 6792Assert.Equal(0, control.Height); 6814Assert.Equal(0, control.Height); 6891Assert.Equal(0, control.Height); 6916Assert.Equal(0, control.Height); 7001Assert.Equal(0, control.Height); 7030Assert.Equal(0, control.Height); 7182Assert.Equal(0, control.Height); 7204Assert.Equal(0, control.Height); 7272Assert.Equal(0, control.Height); 7295Assert.Equal(0, control.Height); 7374Assert.Equal(0, control.Height); 7399Assert.Equal(0, control.Height); 7485Assert.Equal(0, control.Height); 7515Assert.Equal(0, control.Height); 11121Assert.Equal(value.Height, control.Height); 11140Assert.Equal(value.Height, control.Height); 11232Assert.Equal(expectedHeight, control.Height); 11251Assert.Equal(expectedHeight, control.Height); 11327Assert.Equal(value.Height, control.Height); 11346Assert.Equal(value.Height, control.Height); 11442Assert.Equal(value.Height, control.Height); 11462Assert.Equal(value.Height, control.Height); 11559Assert.Equal(expectedHeight, control.Height); 11581Assert.Equal(expectedHeight, control.Height); 11701Assert.Equal(expectedHeight, control.Height); 11728Assert.Equal(expectedHeight, control.Height); 12136Assert.Equal(0, control.Height); 12157Assert.Equal(0, control.Height); 12226Assert.Equal(0, control.Height); 12248Assert.Equal(0, control.Height); 12324Assert.Equal(0, control.Height); 12348Assert.Equal(0, control.Height); 12433Assert.Equal(0, control.Height); 12462Assert.Equal(0, control.Height); 13156Assert.Equal(0, control.Height); 13175Assert.Equal(0, control.Height); 13266Assert.Equal(expectedHeight, control.Height); 13285Assert.Equal(expectedHeight, control.Height); 13354Assert.Equal(0, control.Height); 13373Assert.Equal(0, control.Height); 13462Assert.Equal(0, control.Height); 13482Assert.Equal(0, control.Height); 13574Assert.Equal(0, control.Height); 13596Assert.Equal(0, control.Height); 13711Assert.Equal(0, control.Height); 13738Assert.Equal(0, control.Height);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (8)
54Assert.Equal(s_preferredHeight, control.Height); 80Assert.Equal(control.PreferredHeight, control.Height); 1218Assert.Equal(s_preferredHeight, control.Height); 1225Assert.Equal(s_preferredHeight, control.Height); 1250Assert.Equal(s_preferredHeight, control.Height); 1257Assert.Equal(s_preferredHeight, control.Height); 1290Assert.Equal(s_preferredHeight, control.Height); 1297Assert.Equal(s_preferredHeight, control.Height);
System\Windows\Forms\DateTimePickerTests.cs (1)
81Assert.Equal(control.PreferredHeight, control.Height);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (7)
47Assert.Equal(control.Height, control.Bottom); 48Assert.Equal(new Rectangle(0, 0, control.Width, control.Height), control.Bounds); 76Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, control.Width, control.Height), control.DesktopBounds); 97Assert.True(control.Height > 0); 136Assert.Equal(new Rectangle(-1, -1, control.Width, control.Height), control.RestoreBounds); 146Assert.Equal(new Size(control.Width, control.Height), control.Size); 178Assert.Equal(control.Height, createParams.Height);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
80Assert.Equal(100, control.Height);
System\Windows\Forms\DomainUpDownTests.cs (1)
102_sub.Height.Should().Be(_sub.PreferredHeight);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
77Assert.Equal(100, control.Height);
System\Windows\Forms\FormTests.cs (1)
99Assert.Equal(300, control.Height);
System\Windows\Forms\GroupBoxTests.cs (1)
68Assert.Equal(100, control.Height);
System\Windows\Forms\HScrollBarTests.cs (1)
75Assert.True(control.Height > 0);
System\Windows\Forms\LabelTests.cs (1)
68Assert.Equal(23, control.Height);
System\Windows\Forms\ListBoxTests.cs (25)
78Assert.Equal(96, control.Height); 600Assert.Equal(96, control.Height); 606Assert.Equal(96, control.Height); 627Assert.True(control.Height > 0); 636Assert.True(control.Height > 0); 1060Assert.Equal(96, control.Height); 1068Assert.Equal(96, control.Height); 1088Assert.Equal(96, control.Height); 1096Assert.Equal(96, control.Height); 1128Assert.True(control.Height > 0); 1139Assert.True(control.Height > 0); 1177Assert.True(control.Height > 0); 1188Assert.True(control.Height > 0); 1646Assert.Equal(96, control.Height); 1652Assert.Equal(96, control.Height); 1658Assert.Equal(96, control.Height); 1678Assert.True(control.Height > 0); 1687Assert.True(control.Height > 0); 1696Assert.True(control.Height > 0); 1727Assert.Equal(96, control.Height); 1733Assert.Equal(96, control.Height); 1772Assert.True(control.Height > 0); 1781Assert.True(control.Height > 0); 5564Assert.Equal(96, control.Height); 5570Assert.Equal(96, control.Height);
System\Windows\Forms\ListControlTests.cs (1)
74Assert.Equal(0, control.Height);
System\Windows\Forms\ListViewTests.cs (1)
89Assert.Equal(97, control.Height);
System\Windows\Forms\MdiClientTests.cs (11)
53Assert.Equal(0, control.Height); 546Assert.Equal(value.Height, control.Height); 565Assert.Equal(value.Height, control.Height); 648Assert.Equal(expectedHeight, control.Height); 670Assert.Equal(expectedHeight, control.Height); 782Assert.Equal(0, control.Height); 809Assert.Equal(0, control.Height); 934Assert.Equal(0, control.Height); 961Assert.Equal(0, control.Height); 1096Assert.Equal(expectedHeight, control.Height); 1123Assert.Equal(expectedHeight, control.Height);
System\Windows\Forms\MenuStripTests.cs (1)
87Assert.Equal(24, control.Height);
System\Windows\Forms\MonthCalendarTests.cs (2)
85Assert.True(control.Height > 0); 154Assert.Equal(control.Height, createParams.Height);
System\Windows\Forms\PanelTests.cs (1)
77Assert.Equal(100, control.Height);
System\Windows\Forms\ProgressBarTests.cs (1)
65Assert.Equal(23, control.Height);
System\Windows\Forms\PropertyGridTests.cs (1)
106Assert.Equal(130, control.Height);
System\Windows\Forms\RadioButtonTests.cs (1)
75Assert.Equal(24, control.Height);
System\Windows\Forms\RichTextBoxTests.cs (23)
84Assert.Equal(96, control.Height); 175Assert.Equal(control.Height, createParams.Height); 387Assert.Equal(96, control.Height); 396Assert.Equal(96, control.Height); 405Assert.Equal(96, control.Height); 431Assert.Equal(expectedHeight, control.Height); 440Assert.Equal(expectedHeight, control.Height); 449Assert.Equal(expectedHeight2, control.Height); 475Assert.Equal(96, control.Height); 485Assert.Equal(96, control.Height); 495Assert.Equal(96, control.Height); 2067Assert.Equal(96, control.Height); 2075Assert.Equal(96, control.Height); 2083Assert.Equal(96, control.Height); 2105Assert.Equal(expectedHeight1, control.Height); 2113Assert.Equal(expectedHeight1, control.Height); 2121Assert.Equal(expectedHeight2, control.Height); 2144Assert.Equal(96, control.Height); 2154Assert.Equal(96, control.Height); 2164Assert.Equal(96, control.Height); 2208Assert.Equal(expectedHeight1, control.Height); 2218Assert.Equal(expectedHeight1, control.Height); 2228Assert.Equal(expectedHeight2, control.Height);
System\Windows\Forms\ScrollableControlTests.cs (1)
76Assert.Equal(0, control.Height);
System\Windows\Forms\ScrollBarTests.cs (1)
65Assert.Equal(0, control.Height);
System\Windows\Forms\SplitterTests.cs (15)
66Assert.Equal(3, control.Height); 321Assert.Equal(3, control.Height); 327Assert.Equal(3, control.Height); 348Assert.Equal(3, control.Height); 357Assert.Equal(3, control.Height); 407Assert.Equal(3, control.Height); 416Assert.Equal(3, control.Height); 440Assert.Equal(expectedHeight, control.Height); 449Assert.Equal(expectedHeight, control.Height); 472Assert.Equal(3, control.Height); 481Assert.Equal(3, control.Height); 506Assert.Equal(40, control.Height); 515Assert.Equal(40, control.Height); 664Assert.Equal(3, control.Height); 676Assert.Equal(3, control.Height);
System\Windows\Forms\StatusStripTests.cs (1)
87Assert.Equal(22, control.Height);
System\Windows\Forms\TabControlTests.cs (1)
68Assert.Equal(100, control.Height);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
83Assert.Equal(100, control.Height);
System\Windows\Forms\TabPageTests.cs (18)
82Assert.Equal(100, control.Height); 191Assert.Equal(100, control.Height); 1908Assert.Equal(100, control.Height); 1930Assert.Equal(100, control.Height); 1998Assert.Equal(100, control.Height); 2021Assert.Equal(100, control.Height); 2099Assert.Equal(100, control.Height); 2124Assert.Equal(100, control.Height); 2223Assert.Equal(expected.Height, control.Height); 2253Assert.Equal(expected.Height, control.Height); 4354Assert.Equal(height, control.Height); 4375Assert.Equal(height, control.Height); 4491Assert.Equal(height, control.Height); 4513Assert.Equal(height, control.Height); 4646Assert.Equal(expectedHeight, control.Height); 4670Assert.Equal(expectedHeight, control.Height); 4825Assert.Equal(expected.Height, control.Height); 4855Assert.Equal(expected.Height, control.Height);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
79Assert.Equal(100, control.Height); 949Assert.Equal(100, control.Height); 971Assert.Equal(100, control.Height);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
87Assert.Equal(c.Height, item.Height);
System\Windows\Forms\ToolStripDropDownTests.cs (4)
92Assert.Equal(25, control.Height); 1975Assert.Equal(25, control.Height); 1997Assert.Equal(25, control.Height); 5010expectedLocation.Offset(0, -toolStripDropDown.Height);
System\Windows\Forms\ToolStripPanelTests.cs (1)
79Assert.Equal(0, control.Height);
System\Windows\Forms\ToolStripTests.cs (2)
105Assert.Equal(25, control.Height); 259Assert.Equal(25, control.Height);
System\Windows\Forms\TreeViewTests.cs (1)
70Assert.Equal(97, control.Height);
System\Windows\Forms\UpDownBaseTests.cs (8)
89Assert.Equal(control.PreferredHeight, control.Height); 189Assert.Equal(control.Height, createParams.Height); 1801Assert.Equal(preferredHeight, control.Height); 1808Assert.Equal(preferredHeight, control.Height); 2529Assert.Equal(preferredHeight, control.Height); 2534Assert.Equal(preferredHeight, control.Height); 2772Assert.Equal(preferredHeight, control.Height); 2804Assert.Equal(preferredHeight, control.Height);
System\Windows\Forms\UserControlTests.cs (1)
83Assert.Equal(150, control.Height);
System\Windows\Forms\VScrollBarTests.cs (1)
74Assert.True(control.Height > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
64Assert.Equal(250, control.Height);
TextBoxBaseTests.cs (38)
105Assert.Equal(control.Height, createParams.Height); 215Assert.Equal(s_preferredHeight, control.Height); 224Assert.Equal(s_preferredHeight, control.Height); 233Assert.Equal(s_preferredHeight, control.Height); 253Assert.Equal(s_preferredHeight, control.Height); 263Assert.Equal(s_preferredHeight, control.Height); 273Assert.Equal(s_preferredHeight, control.Height); 300Assert.Equal(s_preferredHeight, control.Height); 310Assert.Equal(s_preferredHeight, control.Height); 320Assert.Equal(s_preferredHeight, control.Height); 1947Assert.Equal(s_preferredHeight, control.Height); 1955Assert.Equal(s_preferredHeight, control.Height); 1963Assert.Equal(s_preferredHeight, control.Height); 1979Assert.Equal(s_preferredHeight, control.Height); 1987Assert.Equal(s_preferredHeight, control.Height); 1995Assert.Equal(s_preferredHeight, control.Height); 2027Assert.Equal(s_preferredHeight, control.Height); 2037Assert.Equal(s_preferredHeight, control.Height); 2047Assert.Equal(s_preferredHeight, control.Height); 2079Assert.Equal(s_preferredHeight, control.Height); 2089Assert.Equal(s_preferredHeight, control.Height); 2099Assert.Equal(s_preferredHeight, control.Height); 5356Assert.Equal(s_preferredHeight, control.Height); 5362Assert.Equal(s_preferredHeight, control.Height); 5382Assert.Equal(s_preferredHeight, control.Height); 5389Assert.Equal(s_preferredHeight, control.Height); 5411Assert.Equal(s_preferredHeight, control.Height); 5418Assert.Equal(s_preferredHeight, control.Height); 5487Assert.Equal(s_preferredHeight, control.Height); 5500Assert.Equal(s_preferredHeight, control.Height); 5719Assert.Equal(s_preferredHeight, control.Height); 5725Assert.Equal(s_preferredHeight, control.Height); 6545Assert.Equal(s_preferredHeight, control.Height); 6566Assert.Equal(s_preferredHeight, control.Height); 6679Assert.Equal(height, control.Height); 6700Assert.Equal(height, control.Height); 6795Assert.Equal(height, control.Height); 6816Assert.Equal(height, control.Height);
TextBoxTests.cs (7)
74Assert.Equal(control.PreferredHeight, control.Height); 547Assert.Equal(s_preferredHeight, control.Height); 554Assert.Equal(s_preferredHeight, control.Height); 576Assert.Equal(s_preferredHeight, control.Height); 583Assert.Equal(s_preferredHeight, control.Height); 652Assert.Equal(s_preferredHeight, control.Height); 665Assert.Equal(s_preferredHeight, control.Height);
TrackBarTests.cs (3)
67Assert.Equal(s_dimension, control.Height); 3005Assert.Equal(expectedHeight, control.Height); 3026Assert.Equal(expectedHeight, control.Height);
WebBrowserBaseTests.cs (4)
84Assert.Equal(height, control.Height); 103Assert.Equal(height, control.Height); 200Assert.Equal(expectedHeight, control.Height); 222Assert.Equal(expectedHeight, control.Height);
System.Windows.Forms.UI.IntegrationTests (6)
Dpi\DpiMessageHelper.cs (1)
26(int)Math.Round(control.Height * factor));
FormTests.cs (4)
73Assert.True(form.Height >= screenWorkingArea.Height); 74Assert.True(form.Height <= screenWorkingArea.Height + (borderSize * 2)); 134Assert.True(form.Height >= screenWorkingArea.Height); 135Assert.True(form.Height <= screenWorkingArea.Height + (borderSize * 2));
ListBoxItemAccessibleObjestTests.cs (1)
31boundsAfterHandleCreation.Height.Should().BeLessOrEqualTo(listBox.Height);
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (1)
632SafeNativeMethods.SetWindowPos(_hwndSource.Handle, NativeMethods.HWND_TOP, 0, 0, this.Width, this.Height, 0);
System\Windows\Integration\HostUtils.cs (3)
297int height = control.Width <= 0 ? 1 : control.Height; 333drawingContext.DrawRectangle(brush, null, new Rect(0, 0, adapter.Width, adapter.Height)); 336RenderTargetBitmap bmp = GetRenderTargetBitmapForVisual(adapter.Width, adapter.Height, drawingVisual);
WinFormsControlsTest (1)
TrackBars.cs (1)
31lblTrackBarSize.Text = $"Trackbar height: {trackBar1.Height}";