52 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)
487Height = 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)
2320Height = _requestedHeight;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
10165int horizScrollBarHeight = _horizScrollBar.Height = SystemInformation.HorizontalScrollBarHeight;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1179Height = PreferredHeight;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
221Height = _requestedHeight; 555Height = _requestedHeight; 2232Height = _requestedHeight; 2480Height = 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)
3762DropDownListBox.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)
256Height = requestedSize;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
1198Height = PreferredHeight; 1209Height = Math.Max(saveHeight, PreferredHeight + 2); // 2 = fudge factor 1215Height = saveHeight;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
386Height = _requestedDim; 704Height = _autoSize ? PreferredDimension : saveDim;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
639Height = PreferredHeight; 804Height = 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)
23Height = ScaleHelper.IsScalingRequired ? ScaleHelper.ScaleToInitialSystemDpi(310) : 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)
275_splitter.Height = 7; 287window.Height = minHeight;
System\Windows\Forms\Design\DocumentDesigner.cs (2)
221_componentTray?.Height = _trayHeight; 864_componentTray.Height = _trayHeight;
System\Windows\Forms\Design\FormatControl.cs (1)
322formatTypeListBox.Height = tableLayoutPanel1.Bottom - formatTypeListBox.Top;
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
481controls[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)
95If labelSizeNeeded.Height > Label.Height Then 98Dim dialogHeightChange As Integer = CInt(labelSizeNeeded.Height - Label.Height)
System.Windows.Forms (148)
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
167get => Pixel2Twip(GetControl()?.Height ?? 0, xDirection: false);
System\Windows\Forms\ActiveX\AxHost.cs (1)
1556SetExtent(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)
5004int height = Math.Min(Height, targetBounds.Height); 8304Rectangle shift = new(-Left, -Top, parent.Width, parent.Height); 8807viewportOrg.Y + Height); 10143/// <param name="height">The new <see cref="Height" /> property value of the control.</param> 10902bool newSize = Width != width || Height != height || _clientWidth != clientWidth || _clientHeight != clientHeight; 11221client = new Point(Width / 2, Height / 2); 12012if ((wp->flags & SET_WINDOW_POS_FLAGS.SWP_NOSIZE) == 0 && (wp->cx != Width || wp->cy != Height)) 12745if (sizeProperty is not null && !sizeProperty.IsReadOnly && (bounds.Width != Width || bounds.Height != Height))
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
386Control.Height - (2 * ButtonBorderSize));
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
458_horizScrollBar.Top = ClientRectangle.Height - _horizScrollBar.Height; 2132rectDisplay.Height -= _horizScrollBar.Height; 2785internal int HorizontalScrollBarHeight => _horizScrollBar.Height;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4539int oldThumbHeight = Math.Max(((_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange) / _vertScrollBar.Maximum, 8); 4550(_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange / _vertScrollBar.Maximum, 9002minimumHeight += _horizScrollBar.Height; 10305_horizScrollBar.Height); 10322_horizScrollBar.Height); 18816pt.Y += Height; 29966client = 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), 5500, boxTop, 0, Height, // Left 5510, Height - 1, Width, Height - 1, // Bottom 554Width - 1, boxTop, Width - 1, Height - 1 // Right 5741, boxTop, 1, Height - 1, // Left 5750, Height - 1, Width, Height - 1, // Bottom 578Width - 1, boxTop - 1, Width - 1, Height - 1 // Right 5830, boxTop, 0, Height - 2, // Left 5840, Height - 2, Width - 1, Height - 2, // Bottom 587Width - 2, boxTop - 1, Width - 2, Height - 2 // Right
System\Windows\Forms\Controls\Labels\Label.cs (2)
84_requestedHeight = Height; 1433Rectangle rectInScreen = RectangleToScreen(new Rectangle(0, 0, Width, Height));
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
127_requestedHeight = Height; 718height = Height; 2083if (!_integralHeightAdjust && height != Height) 2480Height = Math.Max(Height, ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (8)
2577int sh = (int)Math.Round((Top + Height) * dy - sy); 2615_gridView.Location = new Point(0, _toolStrip.Height + _toolStrip.Top); 2656helpRequestedHeight = (Height * _helpPaneSizeRatio) / 100; 2673commandsRequestedHeight = (Height * _commandsPaneSizeRatio) / 100; 2714_helpPaneSizeRatio = (_helpPane.Height * 100) / Height; 2747_commandsPaneSizeRatio = (_commandsPane.Height * 100) / Height;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (2)
117new Rectangle(0, 0, Width, Height), 133Rectangle 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)
67return Height / _lineHeight;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1451if (rectScreen.Y + rectScreen.Height < (size.Height + location.Y + EditTextBox.Height)) 3766bool 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)
662dockHeight += ctl.Height; 784size = splitTarget.Height + delta; 787size = splitTarget.Height - delta;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (5)
104_requestedHeight = Height; 1202int curHeight = Height; 1255if (Width == 0 || Height == 0) 1782if (!_integralHeightAdjust && height != Height) 2061client = 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)
932g.FillRectangle(brush, toolStrip.Width - 1, toolStrip.Height - 2, 1, 1); 933g.FillRectangle(brush, toolStrip.Width - 2, toolStrip.Height - 1, 1, 1); 1148b.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)
835vsRenderer.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)
1940Height, 1953Height,
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1352client = 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)
3966p.Y = Math.Max(screenRect.Y, screenRect.Y + (screenRect.Height - Height) / 2); 4395Point pointToSnap = new(button.Left + button.Width / 2, button.Top + button.Height / 2); 5296if (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)
1379float 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)
485e.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)
2755int height = o1.Height / 2;
System\Windows\Forms\Design\ControlCommandSet.cs (4)
498lines.Add(new SnapLine(SnapLineType.Bottom, pt.Y + primaryControl.Height - 1)); 499lines.Add(new SnapLine(SnapLineType.Horizontal, pt.Y + primaryControl.Height + primaryControl.Margin.Bottom, SnapLine.MarginBottom, SnapLinePriority.Always)); 715primaryControl.Width + moveOffsetX, primaryControl.Height + moveOffsetY); 727moveOffsetY = 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)
285if (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)
217get => _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)
377_designMenu.Height = ScaleHelper.ScaleToInitialSystemDpi(_designMenu.Height);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
1212ToolStripItem.Height = _editorNode.EditorToolStrip.Height; 1230boundsInAdornerWindow.Y += (ToolStripItem.Height - _editorNode.EditorToolStrip.Height) / 2;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
537nameof(ToolStripPanel.Height),
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (1)
629SafeNativeMethods.SetWindowPos(_hwndSource.Handle, NativeMethods.HWND_TOP, 0, 0, this.Width, this.Height, 0);
System\Windows\Integration\HostUtils.cs (3)
296int height = control.Width <= 0 ? 1 : control.Height; 332drawingContext.DrawRectangle(brush, null, new Rect(0, 0, adapter.Width, adapter.Height)); 335RenderTargetBitmap bmp = GetRenderTargetBitmapForVisual(adapter.Width, adapter.Height, drawingVisual);