9 writes to Top
System.Web.Mobile (2)
UI\MobileControls\Design\Util\EditableTreeList.cs (1)
146BtnRemove.Top += offset;
UI\MobileControls\Design\Util\HeaderPanel.cs (1)
48child.Top += offset;
System.Windows.Forms (5)
winforms\Managed\System\WinForms\AxHost.cs (1)
6294GetP().Top = Twip2Pixel(value, false);
winforms\Managed\System\WinForms\DataGrid.cs (2)
340horizScrollBar.Top = ClientRectangle.Height - horizScrollBar.Height; 346vertScrollBar.Top = 0;
winforms\Managed\System\WinForms\DataGridView.cs (2)
504this.horizScrollBar.Top = this.ClientRectangle.Height - horizScrollBar.Height; 510this.vertScrollBar.Top = 0;
System.WorkflowServices (2)
System\Workflow\Activities\Design\RichListBox.cs (2)
138listItemRenderer.Top = -2000; 166listItemRenderer.Top = -2000;
50 references to Top
System.Web.Mobile (2)
UI\MobileControls\Design\Util\HeaderPanel.cs (2)
46if(child.Top > header.Top)
System.Windows.Forms (36)
winforms\Managed\System\WinForms\AxHost.cs (1)
6288return Pixel2Twip(GetP().Top, false);
winforms\Managed\System\WinForms\Control.cs (5)
9803Rectangle shift = new Rectangle(-this.Left,-this.Top, parent.Width, parent.Height); 9806Rectangle newClipRect = new Rectangle(rectangle.Left + this.Left, rectangle.Top + this.Top, rectangle.Width, rectangle.Height); 9809wg.DeviceContext.TranslateTransform(-this.Left, -this.Top); 13843if ((wp->flags & NativeMethods.SWP_NOMOVE) == 0 && (wp->x != Left || wp->y != Top)) { 18634rc.top = control.Top;
winforms\Managed\System\WinForms\ErrorProvider.cs (2)
1541y = control.Top; 1545y = control.Top + (control.Height - size.Height) / 2;
winforms\Managed\System\WinForms\Form.cs (7)
4820form.SetBounds(new Rectangle(this.Left, this.Top, adjustedSize.Width, adjustedSize.Height), BoundsSpecified.None); 4998button.Top + button.Height / 2); 5996adjustedBounds.Y = Top; 6290return Left != 0 || Top != 0; 7854Rectangle r = new Rectangle(owner.Left, owner.Top, s.Width, SystemInformation.CaptionHeight); 7918UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.Left + s.Width / 2, owner.Top + SystemInformation.CaptionHeight)); 7938UnsafeNativeMethods.SendMessage(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKPOSITION, 0, NativeMethods.Util.MAKELONG(owner.Left + s.Width / 2, owner.Top + SystemInformation.CaptionHeight));
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
2964int sy = (int)Math.Round(Top * dy); 2968sh = (int)Math.Round((Top + Height) * dy - sy); 2999gridView.Location = new Point(0, toolStrip.Height + toolStrip.Top);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (2)
147m_labelTitle.SetBounds(m_labelTitle.Top, 153m_labelDesc.SetBounds(m_labelDesc.Top,
winforms\Managed\System\WinForms\SplitContainer.cs (2)
911r.Y = splitterRect.Y - Top; 1182SplitterCancelEventArgs se = new SplitterCancelEventArgs(this.Left + SplitterRectangle.X + SplitterRectangle.Width/2, this.Top + SplitterRectangle.Y + SplitterRectangle.Height/2, xSplit, ySplit);
winforms\Managed\System\WinForms\Splitter.cs (7)
469OnSplitterMoved(new SplitterEventArgs(Left, Top, (Left + bounds.Width / 2), (Top + bounds.Height / 2))); 814if (target.Bottom == Top) return(Control)target; 817if (target.Top == Bottom) return(Control)target; 892int y = e.Y + Top; 908int y = e.Y + Top; 1039int size = GetSplitSize(x-Left+anchor.X, y-Top+anchor.Y);
winforms\Managed\System\WinForms\StatusBar.cs (2)
1132if (ctl.Top > Top) {
winforms\Managed\System\WinForms\TabPage.cs (1)
759return Left != 0 || Top != 0;
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
491return new Point(toolStripToDrag.Right,toolStripToDrag.Top); 590controlLocations[j] = new Point(row.Bounds.Width - control.Right, control.Top);
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);
System.Workflow.ComponentModel (12)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (4)
558e.Graphics.DrawLine(framePen, this.designerPreview.Left - margin.Width, this.designerPreview.Top - 1, this.designerPreview.Right + margin.Width, this.designerPreview.Top - 1); 560e.Graphics.DrawLine(framePen, this.designerPreview.Left - 1, this.designerPreview.Top - margin.Height, this.designerPreview.Left - 1, this.designerPreview.Bottom + margin.Height); 561e.Graphics.DrawLine(framePen, this.designerPreview.Right + 1, this.designerPreview.Top - margin.Height, this.designerPreview.Right + 1, this.designerPreview.Bottom + margin.Height);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (8)
509Rectangle lineRectangle = new Rectangle(this.ClientRectangle.Left, this.artifactLabel.Bottom + ((this.typeNameTableLayoutPanel.Top + this.typeTextBox.Top - this.artifactLabel.Bottom) / 2), this.ClientRectangle.Width, 1); 514lineRectangle = new Rectangle(this.ClientRectangle.Left, this.helpTextHolder.Bottom + ((this.okCancelTableLayoutPanel.Top + this.buttonOK.Top - this.helpTextHolder.Bottom) / 2), this.ClientRectangle.Width, 1); 519paintArgs.Graphics.DrawLine(SystemPens.WindowFrame, this.helpTextHolder.Left - 1, this.helpTextHolder.Top - 1, this.helpTextHolder.Left - 1, this.helpTextHolder.Bottom); 521paintArgs.Graphics.DrawLine(SystemPens.WindowFrame, this.helpTextHolder.Right, this.helpTextHolder.Bottom, this.helpTextHolder.Right, this.helpTextHolder.Top - 1); 522paintArgs.Graphics.DrawLine(SystemPens.WindowFrame, this.helpTextHolder.Right, this.helpTextHolder.Top - 1, this.helpTextHolder.Left - 1, this.helpTextHolder.Top - 1);