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