40 writes to Height
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
102_dialogWindow.Height = 400;
System.Web.Mobile (9)
UI\MobileControls\Design\MobileControlDesigner.cs (1)
576panel.Height = lblDescription.Height;
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
986lblDescription.Height = 24; 988panel.Height = 28;
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
596panel.Height = lblDescription.Height;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
603panel.Height = lblDescription.Height;
UI\MobileControls\Design\Util\EditableTreeList.cs (1)
145TvList.Height += offset;
UI\MobileControls\Design\Util\GenericUI.cs (1)
90dialog.Height += header.Height + 6;
UI\MobileControls\Design\Util\HeaderPanel.cs (2)
41header.Height = height; 57controlIterator.Height += offset;
System.Windows.Forms (26)
winforms\Managed\System\WinForms\AxHost.cs (1)
6236GetP().Height = Twip2Pixel(value, false);
winforms\Managed\System\WinForms\ComboBox.cs (1)
2480Height = requestedHeight;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
10345int horizScrollBarHeight = this.horizScrollBar.Height = SystemInformation.HorizontalScrollBarHeight;
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1306Height = PreferredHeight;
winforms\Managed\System\WinForms\ListBox.cs (4)
283Height = requestedHeight; 594Height = requestedHeight; 2198Height = requestedHeight; 2484Height = Math.Max(Height,ItemHeight);
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
117Height -= delta; 123Height += delta; 326detailsBtn.Height = okBtn.Height;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
3907DropDownListBox.Height = Math.Max(tm.tmHeight + 2, Math.Min(maxListBoxHeight, DropDownListBox.PreferredHeight)); 5988lb.Height = Math.Max(lb.Height, lb.ItemHeight); 6018CreateNewLink.Height = linkHeight + DropDownHolderBorder; 6132this.Height = (int)Math.Round(factor * this.Height);
winforms\Managed\System\WinForms\Splitter.cs (1)
322Height = requestedSize;
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
205((Panel)this).Height = value;
winforms\Managed\System\WinForms\TextBoxBase.cs (3)
1380Height = PreferredHeight; 1391Height = Math.Max(saveHeight, PreferredHeight + 2); // 2 = fudge factor 1396Height = saveHeight;
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
422Height = Height + delta;
winforms\Managed\System\WinForms\ToolBar.cs (1)
1027Height = AutoSize ? PreferredHeight : saveSize;
winforms\Managed\System\WinForms\TrackBar.cs (2)
456Height = requestedDim; 811Height = autoSize ? PreferredDimension : saveDim;
winforms\Managed\System\WinForms\UpDownBase.cs (2)
914this.Height = PreferredHeight; 1063Height = PreferredHeight;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerWidgets.cs (1)
1483Height = SystemInformation.HorizontalScrollBarHeight + 2;
AuthoringOM\Design\WorkflowView.cs (1)
1281this.toolContainer.Height = Height - ((hScrollBar.Visible) ? hScrollBar.Height : 0);
System.WorkflowServices (2)
System\Workflow\Activities\Design\ServiceContractViewControl.cs (1)
54this.Height = this.contractNameLabel.Height;
System\Workflow\Activities\Design\ServiceOperationViewControl.cs (1)
48this.Height = this.operationNameLabel.Height;
190 references to Height
System.Web.Mobile (6)
UI\MobileControls\Design\MobileControlDesigner.cs (1)
576panel.Height = lblDescription.Height;
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
596panel.Height = lblDescription.Height;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
603panel.Height = lblDescription.Height;
UI\MobileControls\Design\Util\EditableTreeList.cs (1)
144int offset = 4 + BtnAdd.Height;
UI\MobileControls\Design\Util\GenericUI.cs (1)
90dialog.Height += header.Height + 6;
UI\MobileControls\Design\Util\HeaderPanel.cs (1)
25int offset = height - header.Height;
System.Windows.Forms (155)
winforms\Managed\System\WinForms\AxHost.cs (2)
1905SetExtent(Width, Height); 6230return Pixel2Twip(GetP().Height, false);
winforms\Managed\System\WinForms\BoundsSpecified.cs (1)
73/// Both <see cref='System.Windows.Forms.Control.Width'/> and <see cref='System.Windows.Forms.Control.Height'/> property values of the control are
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
562Rectangle bounds = new Rectangle(buttonBorderSize, buttonBorderSize, this.Control.Width - (2 * buttonBorderSize), this.Control.Height - (2 * buttonBorderSize));
winforms\Managed\System\WinForms\ComboBox.cs (3)
6104Rectangle bottomOwnerDrawArea = new Rectangle(0,innerBorder.Bottom,comboBox.Width, comboBox.Height-innerBorder.Bottom); 6105Rectangle leftOwnerDrawArea = new Rectangle(0,0,innerBorder.Left, comboBox.Height); 6106Rectangle rightOwnerDrawArea = new Rectangle(innerBorder.Right,0,comboBox.Width - innerBorder.Right,comboBox.Height);
winforms\Managed\System\WinForms\Control.cs (9)
6168int height = Math.Min(this.Height, targetBounds.Height); 9803Rectangle shift = new Rectangle(-this.Left,-this.Top, parent.Width, parent.Height); 10352HandleRef hClippingRegion = new HandleRef(null, SafeNativeMethods.CreateRectRgn(viewportOrg.x,viewportOrg.y, viewportOrg.x + this.Width, viewportOrg.y + this.Height)); 12568bool newSize = this.Width != width || this.Height != height || 12867client = new Point(Width/2, Height/2); 13846if ((wp->flags & NativeMethods.SWP_NOSIZE) == 0 && (wp->cx != Width || wp->cy != Height)) { 14513if (sizeProperty != null && !sizeProperty.IsReadOnly && (bounds.Width != this.Width || bounds.Height != this.Height)) { 16697SafeNativeMethods.SetWindowExtEx(new HandleRef(null, hdcDraw), control.Width, control.Height, sWindowExt); 18643rc.bottom = rc.top + control.Height;
winforms\Managed\System\WinForms\DataGrid.cs (5)
340horizScrollBar.Top = ClientRectangle.Height - horizScrollBar.Height; 6752int horizHeight = horizScrollBar.Height; 6781int horizHeight = horizScrollBar.Height; 6811horizScrollBar.Height); 6829horizScrollBar.Height);
winforms\Managed\System\WinForms\DataGridView.cs (2)
504this.horizScrollBar.Top = this.ClientRectangle.Height - horizScrollBar.Height; 2695rectDisplay.Height -= this.horizScrollBar.Height;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (7)
4508int oldThumbHeight = Math.Max(((this.vertScrollBar.Height - 2*SystemInformation.VerticalScrollBarArrowHeight) * this.vertScrollBar.LargeChange) / this.vertScrollBar.Maximum, 8); 4518oldThumbHeight != Math.Max(((this.vertScrollBar.Height - 2*SystemInformation.VerticalScrollBarArrowHeight) * this.vertScrollBar.LargeChange) / this.vertScrollBar.Maximum, 8))) 9089minimumHeight += this.horizScrollBar.Height; 10482this.horizScrollBar.Height); 10499this.horizScrollBar.Height); 19358pt.Y += Height; 29861client = new Point(this.Width/2, this.Height/2);
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1545y = control.Top + (control.Height - size.Height) / 2;
winforms\Managed\System\WinForms\Form.cs (4)
4508p.Y = Math.Max(screenRect.Y,screenRect.Y + (screenRect.Height - Height)/2); 4998button.Top + button.Height / 2); 5898&& (this.Height != height || this.Width != width)) { 5998adjustedBounds.Height = Height;
winforms\Managed\System\WinForms\GroupBox.cs (15)
520if (Application.RenderWithVisualStyles && Width >= 10 && Height >= 10) { 537GroupBoxRenderer.DrawGroupBox(e.Graphics, new Rectangle(0, 0, Width, Height), Text, Font, textcolor, textFlags, gbState); 540GroupBoxRenderer.DrawGroupBox(e.Graphics, new Rectangle(0, 0, Width, Height), Text, Font, textFlags, gbState); 645graphics.DrawLine(boxPen, 0, boxTop, 0, Height); 647graphics.DrawLine(boxPen, 0, Height-1, Width, Height-1); 653graphics.DrawLine(boxPen, Width-1, boxTop, Width-1, Height-1); 663graphics.DrawLine(light, 1, boxTop, 1, Height - 1); 664graphics.DrawLine(dark, 0, boxTop, 0, Height - 2); 667graphics.DrawLine(light, 0, Height - 1, Width, Height - 1); 668graphics.DrawLine(dark, 0, Height - 2, Width - 1, Height - 2); 680graphics.DrawLine(light, Width - 1, boxTop - 1, Width - 1, Height - 1); 681graphics.DrawLine(dark, Width - 2, boxTop, Width - 2, Height - 2);
winforms\Managed\System\WinForms\Label.cs (2)
118requestedHeight = Height; 1739Rectangle rectInScreen = this.RectangleToScreen(new Rectangle(0, 0, Width, Height));
winforms\Managed\System\WinForms\ListBox.cs (4)
165requestedHeight = Height; 741height = this.Height; 2074if (!integralHeightAdjust && height != Height) 2484Height = Math.Max(Height,ItemHeight);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (5)
744position.Y = Math.Min(position.Y, virtualSize.Height - Height); 767info.nMax = Math.Max(Height, virtualSize.Height) - 1; 768info.nPage = Height; 796int maxPos = Math.Max(Height, virtualSize.Height/* - Height*/); 878maxPos = Math.Max(Height, virtualSize.Height/* - Height*/);
winforms\Managed\System\WinForms\PropertyGrid.cs (9)
2967int sh = Height; 2968sh = (int)Math.Round((Top + Height) * dy - sy); 2999gridView.Location = new Point(0, toolStrip.Height + toolStrip.Top); 3043dcRequestedHeight = (this.Height * dcSizeRatio) / 100; 3056hcRequestedHeight = (this.Height * hcSizeRatio) / 100; 3091dcSizeRatio = (doccomment.Height * 100) / this.Height; 3120hcSizeRatio = (hotcommands.Height * 100) / this.Height;
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
70return Height/lineHeight;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
97Rectangle dropDownButtonRect = new Rectangle(0, 0, Width, Height);
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
112int delta = details.Height + 8; 326detailsBtn.Height = okBtn.Height; 331int y = detailsBtn.Location.Y + detailsBtn.Height + detailsBtn.Margin.Bottom;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (13)
1644if (rectScreen.Y + rectScreen.Height < (size.Height + loc.Y + Edit.Height)) { 1659if (this.Width == size.Width && this.Height == size.Height) { 1723if (rectScreen.Y + rectScreen.Height < (size.Height + loc.Y + Edit.Height)) { 3910bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight); 5702Size newSize = new Size(2 * DropDownHolderBorder + currentControl.Width, 2 * DropDownHolderBorder + currentControl.Height); 5762Rectangle bGripRect = new Rectangle(0, Height - ResizeGripSize, ResizeGripSize, ResizeGripSize); 5772else if (!resizeUp && Math.Abs(Height - y) < ResizeBorderSize) 5915Rectangle lRect = new Rectangle(0, resizeUp ? 0 : Height - ResizeGripSize, ResizeGripSize, ResizeGripSize); 5919int y = resizeUp ? (ResizeBarSize - 1) : (Height - ResizeBarSize); 5988lb.Height = Math.Max(lb.Height, lb.ItemHeight); 5998Size sz = new Size(2 * DropDownHolderBorder + ctl.Width, 2 * DropDownHolderBorder + ctl.Height); 6012int linkHeight = CreateNewLink.Height; 6132this.Height = (int)Math.Round(factor * this.Height);
winforms\Managed\System\WinForms\SplitContainer.cs (34)
492panelSize = Height - SplitterDistanceInternal - SplitterWidthInternal; 530return (Height >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize); 827if (value + SplitterWidthInternal > this.Height - Panel2MinSize) 829value = this.Height - Panel2MinSize - SplitterWidthInternal; 848panelSize = Height - SplitterDistance - SplitterWidthInternal; 1162splitterDistance = (splitterDistance + SplitterWidth > Height - Panel2MinSize - BORDERSIZE) ? splitterDistance - SplitterIncrement : splitterDistance; 1280y = Math.Max(Math.Min(y, Height - Panel2MinSize), Panel1MinSize); 1452if (DesignMode && Height != DefaultSize.Height && value + Panel2MinSize + SplitterWidth > Height) { 1477if (DesignMode && Height != DefaultSize.Height && value + Panel1MinSize + SplitterWidth > Height) { 1501if (DesignMode && value + Panel1MinSize + Panel2MinSize > Height) { 1552r.Height = Height; 1681return Math.Max(Math.Min(size, Height - Panel2MinSize), Panel1MinSize); 1729splitterRect.Height = this.Height; 1759else if (this.Height == 0) { // Set the correct Height iif the HEIGHT has changed to ZERO. 1771panel1.Size = new Size(panelSize, Height); 1772panel2.Size = new Size(Math.Max(Width - panelSize - SplitterWidthInternal, Panel2MinSize), Height); 1775panel2.Size = new Size(panelSize, Height); 1778panel1.HeightInternal = Height; 1785panel1.HeightInternal = Height; 1786panel2.Size = new Size(Math.Max(Width - splitterDistance - SplitterWidthInternal, Panel2MinSize), Height); 1819panel2.Size = new Size(Width, Math.Max(Height - panel2Start, Panel2MinSize)); 1825splitterDistance = Math.Max(Height - Panel2.Height - SplitterWidthInternal, Panel1MinSize); 1835splitterDistance = Math.Max((int)(Math.Floor(this.Height / ratioHeight )), Panel1MinSize); 1840panel2.Size = new Size(Width,Math.Max(Height - panel2Start, Panel2MinSize)); 2212 if (size + SplitterWidthInternal <= this.Height - Panel2MinSize - BORDERSIZE) 2264panel1.HeightInternal = Height; 2266panel2.Size = new Size(Width - splitterDistance - SplitterWidthInternal, Height); 2309panel2.Size = new Size(Width, Height - panel2Start); 2316ratioHeight = ((double)(this.Height) / (double)(panel1.Height) > 0) ? (double)(this.Height) / (double)(panel1.Height) : ratioHeight; 2332 ratioHeight = ((double)(this.Height) / (double)(splitterDistance) > 0) ? (double)(this.Height) / (double)(splitterDistance) : ratioHeight;
winforms\Managed\System\WinForms\Splitter.cs (3)
742dockHeight += ctl.Height; 847size = splitTarget.Height + delta; 850size = splitTarget.Height - delta;
winforms\Managed\System\WinForms\SplitterPanel.cs (2)
193return base.Height; 202return ((Panel)this).Height;
winforms\Managed\System\WinForms\StatusBar.cs (1)
1008t.rect = new Rectangle(panel.Right-panel.Width + border, 0, panel.Width - border, Height);
winforms\Managed\System\WinForms\TextBoxBase.cs (5)
130requestedHeight = Height; 1384int curHeight = Height; 1432if (this.Width == 0 || this.Height == 0) { 1987if (!integralHeightAdjust && height != Height) 2257client = new Point(Width/2, Height/2);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
420int delta = details.Height + scaledHeightPadding; 422Height = Height + delta;
winforms\Managed\System\WinForms\ToolStrip.cs (2)
5488insertionRect = new Rectangle(item.Bounds.Right, owner.Margin.Top, ToolStrip.insertionBeamWidth, owner.Height- (owner.Margin.Vertical)-1); 5491insertionRect = new Rectangle(item.Bounds.Left, owner.Margin.Top, ToolStrip.insertionBeamWidth, owner.Height - (owner.Margin.Vertical) -1);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
185imageMarginBounds.Height =this.Height; 469imageMarginBounds = new Rectangle(0,0,checkAndImageMarginWidth, this.Height);
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
111preferredSize = new Size(gripThickness, this.ParentInternal.Height);
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
124bounds.Height = ParentInternal.Height;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
1840int controlToDragWidth = (toolStripToDrag.AutoSize) ? toolStripToDrag.PreferredSize.Height : toolStripToDrag.Height;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (3)
815g.FillRectangle(b, toolStrip.Width - 1, toolStrip.Height - 2, 1, 1); 816g.FillRectangle(b, toolStrip.Width - 2, toolStrip.Height - 1, 1, 1); 986b.TranslateTransform(parent.Width - control.Location.X, parent.Height -control.Location.Y);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
688vsRenderer.DrawBackground(e.Graphics,new Rectangle(0,0,e.ToolStrip.Width-1, e.ToolStrip.Height-1));
winforms\Managed\System\WinForms\ToolStripTextBox.cs (5)
727hTotalRegion = new HandleRef(this, SafeNativeMethods.CreateRectRgn(0, 0, this.Width, this.Height)); 874g.FillRectangle(b, 0, 0, clientRect.Left, this.Height); // left border 875g.FillRectangle(b, 0, clientRect.Bottom, this.Width, this.Height - clientRect.Height); // bottom border 876g.FillRectangle(b, clientRect.Right, 0, this.Width - clientRect.Right, this.Height); // right border 881g.DrawRectangle(p, 0, 0, this.Width - 1, this.Height - 1);
winforms\Managed\System\WinForms\TreeView.cs (2)
2045SafeNativeMethods.SetWindowPos(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.Left, this.Top, Int32.MaxValue, this.Height, flags); 2051SafeNativeMethods.SetWindowPos(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.Left, this.Top, oldSize, this.Height, flags);
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1624client = new Point(Width / 2, Height / 2);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1987wp->cy = WebBrowserBase.Height;
System.Windows.Forms.DataVisualization (4)
WinForm\ChartWinControl.cs (2)
582 graphics.FillRectangle(Brushes.White, 0, 0, this.Width, this.Height); 586 RectangleF rect = new RectangleF(3, 3, this.Width-6, this.Height-6);
WinForm\Utilities\AccessibleObject.cs (2)
305absolute.Y = bounds.Y * (this._chart.Height - 1) / 100F; 307absolute.Height = bounds.Height * (this._chart.Height - 1) / 100F;
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
445this.listBoxAutoComplete.Size = new Size(topLevelControlSize.Width, this.listBoxAutoComplete.Height);
System.Workflow.ComponentModel (21)
AuthoringOM\Design\DesignerWidgets.cs (14)
1560int minExtra = Math.Max(this.splitter.MinSize, Height - this.tabStrip.MaximumRequiredSize - this.splitter.Height); 1563updateSplitterPosition |= (this.itemsMinimized) ? /*minimized*/(this.splitter.SplitPosition != this.splitter.MinSize) : /*maximized*/(this.splitter.SplitPosition != Height - this.splitter.MinExtra); 1591if (!this.itemsMinimized && this.splitter.SplitPosition != Height - this.splitter.MinExtra) 1592this.splitter.SplitPosition = Height - this.splitter.MinExtra; 1608this.splitter.SplitPosition = ((this.splitter.Dock == DockStyle.Left || this.splitter.Dock == DockStyle.Right) ? Width : Height) - this.splitter.MinExtra; 1619e.Graphics.DrawLine(SystemPens.ControlLightLight, 0, 0, 0, this.splitter.Height); 1622e.Graphics.DrawLine(SystemPens.ControlDark, SplitterSize - 2, 0, SplitterSize - 2, this.splitter.Height - 1); 1623e.Graphics.DrawLine(SystemPens.ControlDark, SplitterSize - 2, this.splitter.Height - 1, 0, this.splitter.Height - 1); 1625e.Graphics.DrawLine(SystemPens.ControlText, SplitterSize - 1, 0, SplitterSize - 1, this.splitter.Height); 1648this.splitter.MinExtra = (Height - this.tabStrip.MaximumRequiredSize - this.splitter.Height); 1954int maxTotalTabItemSize = ((this.orientation == Orientation.Horizontal) ? Width : Height);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
550Point bottom = new Point(top.X, this.themePanel.Height - this.themePanel.Margin.Bottom);
AuthoringOM\Design\WorkflowView.cs (6)
447viewPortSize.Height = Math.Max(0, viewPortSize.Height - HScrollBar.Height); 1082e.Graphics.FillRectangle(SystemBrushes.Control, new Rectangle(Width - SystemInformation.VerticalScrollBarWidth, Height - SystemInformation.HorizontalScrollBarHeight, SystemInformation.VerticalScrollBarWidth, SystemInformation.HorizontalScrollBarHeight)); 1273hScrollBar.Bounds = new Rectangle(0, Math.Max(0, Height - SystemInformation.HorizontalScrollBarHeight), Math.Max(Width - ((vScrollBar.Visible) ? SystemInformation.VerticalScrollBarWidth : 0), 0), SystemInformation.HorizontalScrollBarHeight); 1276vScrollBar.Bounds = new Rectangle(Math.Max(0, Width - SystemInformation.VerticalScrollBarWidth), 0, SystemInformation.VerticalScrollBarWidth, Math.Max(Height - ((hScrollBar.Visible) ? SystemInformation.HorizontalScrollBarHeight : 0), 0)); 1281this.toolContainer.Height = Height - ((hScrollBar.Visible) ? hScrollBar.Height : 0);
System.WorkflowServices (3)
System\Workflow\Activities\Design\RichListBox.cs (1)
168e.ItemHeight = listItemRenderer.Height;
System\Workflow\Activities\Design\ServiceContractViewControl.cs (1)
54this.Height = this.contractNameLabel.Height;
System\Workflow\Activities\Design\ServiceOperationViewControl.cs (1)
48this.Height = this.operationNameLabel.Height;