31 writes to Location
System.Windows.Forms (12)
winforms\Managed\System\WinForms\Control.cs (1)
18262bounds.Location = new Point(bounds.X, bounds.Y);
winforms\Managed\System\WinForms\Form.cs (2)
6890restoredWindowBounds.Location = Location; 6895restoreBounds.Location = Location;
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
360value.Location = pt; 450newBounds.Location = pt;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
384rect.Location = FlipPoint(rect.Location);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
268bounds.Location = this.Location;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1265dropDownBounds.Location = new Point(start.X + offset.X, start.Y + offset.Y); 1983bounds.Location = toolStrip.PointToClient(bounds.Location);
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
342dropDownBounds.Location = new Point(itemScreenLocation.X + offset.X, itemScreenLocation.Y + offset.Y);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
595client.Location = Point.Empty;
winforms\Managed\System\WinForms\TreeView.cs (1)
2918bounds.Location = this.PointToScreen(bounds.Location);
System.Workflow.ComponentModel (19)
AuthoringOM\Design\DesignerHelpers.cs (1)
498designerBounds.Location = Point.Empty;
AuthoringOM\Design\DesignerWidgets.cs (7)
332this.bounds.Location = value; 641this.bounds.Location = value; 2583this.bounds.Location = value; 3240this.bounds.Location = value; 3247this.previewModeDescRectangle.Location = descRectanglePos; 3252this.previewModeButtonRectangle.Location = previewModeBitmapPos; 3254this.canvasBounds.Location = new Point(value.X + this.bounds.Width / 2 - this.canvasBounds.Width / 2, this.previewModeDescRectangle.Bottom + margin.Height);
AuthoringOM\Design\ParallelActivityDesigner.cs (4)
289dropTargets[0].Location = new Point(bounds.X, firstDesigner.Location.Y); 300dropTargets[i + 1].Location = new Point(designerBounds1.Right + (designerBounds2.Left - designerBounds1.Right) / 2 - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, designerBounds1.Top); 306dropTargets[containedDesigners.Count].Location = new Point(bounds.Right - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), lastDesigner.Location.Y); 311dropTargets[0].Location = new Point(Location.X + (Size.Width - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0)) / 2, TextRectangle.Bottom);
AuthoringOM\Design\SequentialActivityDesigner.cs (4)
213connectorBounds[0].Location = new Point(containerStartConnection.X - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, containerStartConnection.Y); 226connectorBounds[i + 1].Location = new Point(designerFromConnections[designerFromPointCount - 1].X - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, designerFromConnections[designerFromPointCount - 1].Y); 243connectorBounds[connectorCount - 1].Location = new Point(endDesignerConnections[endDesignerConnections.Count - 1].X - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, endDesignerConnections[endDesignerConnections.Count - 1].Y); 249connectorBounds[0].Location = new Point(containerStartConnection.X - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, containerStartConnection.Y);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
400headerBarRectangle.Location = AssociatedDesigner.Location;
AuthoringOM\Design\WorkflowLayouts.cs (2)
572viewPortBitmapArea.Location = points[0]; 678viewPortBitmapArea.Location = points[0];
83 references to Location
System.Web.DataVisualization (4)
Common\General\Legend.cs (4)
474 legendPosition.Location.X, 475 legendPosition.Location.Y, 511 legendPosition.Location.X + this.GetBorderSize() + this._offset.Width, 512 legendPosition.Location.Y + this._titlePosition.Height,
System.Windows.Forms (32)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1405layout.imageStart = layout.imageBounds.Location;
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (1)
28Control.PaintBackground(e, rect, backColor, rect.Location);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
43Control.PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : Control.BackColor, r.Location); 83Control.PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : Control.BackColor, r.Location);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
127ControlPaint.DrawBackgroundImage(e.Graphics, Control.BackgroundImage, Color.Transparent, Control.BackgroundImageLayout, Control.ClientRectangle, bounds, Control.DisplayRectangle.Location, Control.RightToLeft);
winforms\Managed\System\WinForms\ComboBox.cs (1)
5934outerBorder = new Rectangle(clientRect.Location, new Size(clientRect.Width - 1, clientRect.Height - 1));
winforms\Managed\System\WinForms\ControlPaint.cs (1)
499imageRectangle.Offset(clipRect.Location);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
76Point location = oldBounds.Location;
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
165Point location = rowBounds.Location;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
384rect.Location = FlipPoint(rect.Location);
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
765ControlPaint.DrawBackgroundImage(e.Graphics, BackgroundImage, BackColor, BackgroundImageLayout, displayRect, displayRect, displayRect.Location);
winforms\Managed\System\WinForms\StatusStrip.cs (2)
377Point noMansLand = displayRect.Location; 414if (item.Bounds.Location != noMansLand){
winforms\Managed\System\WinForms\TabPage.cs (1)
725ControlPaint.DrawBackgroundImage(e.Graphics, BackgroundImage, bkcolor, BackgroundImageLayout, inflateRect, inflateRect, DisplayRectangle.Location);
winforms\Managed\System\WinForms\ToolStrip.cs (2)
4156Point newLocation = item.Bounds.Location; 4621cursorLocation = WindowsFormsUtils.ConstrainToScreenBounds(new Rectangle(cursorLocation, onePixel)).Location;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
1211screenPoint = suggestedBounds.Location; 1228parentClientPoint = suggestedBounds.Location; 1983bounds.Location = toolStrip.PointToClient(bounds.Location); 2061this.displayLocation = CalculateDropDownLocation(control.PointToScreen(position), direction).Location; 2085this.displayLocation = CalculateDropDownLocation(position, direction).Location;
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
198return GetDropDownBounds(dropDownDirection).Location;
winforms\Managed\System\WinForms\ToolStripItem.cs (5)
2750Point rectangleLocation = this.TranslatePoint(r.Location, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ToolStripCoords); 3629if (this.bounds.Location != oldBounds.Location) { 3857Point currentToolStripItemLocation = Bounds.Location; 4406return new Rectangle(Owner.ParentInternal.PointToScreen(bounds.Location), bounds.Size);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1143Point cursorLoc = toolStripToDrag.PointToScreen(toolStripToDrag.GripRectangle.Location);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
771imageRect.Offset(owner.SplitButtonButton.Bounds.Location); 780textRect.Offset(owner.SplitButtonButton.Bounds.Location);
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (1)
230noMansLand = displayRectangle.Location;
winforms\Managed\System\WinForms\TreeView.cs (1)
2918bounds.Location = this.PointToScreen(bounds.Location);
System.Windows.Forms.DataVisualization (4)
Common\General\Legend.cs (4)
474 legendPosition.Location.X, 475 legendPosition.Location.Y, 511 legendPosition.Location.X + this.GetBorderSize() + this._offset.Width, 512 legendPosition.Location.Y + this._titlePosition.Height,
System.Workflow.Activities (1)
Designers\StateDesigner.Layouts.cs (1)
1363Point origin = bounds.Location;
System.Workflow.ComponentModel (39)
AuthoringOM\Design\ActivityDesigner.cs (3)
1072Rectangle viewPort = new Rectangle(bounds.Location, new Size(bounds.Width + 1, bounds.Height + 1)); 1895return new Rectangle(PointToScreen(rectangle.Location), parentView.LogicalSizeToClient(rectangle.Size)); 1916return new Rectangle(PointToLogical(rectangle.Location), parentView.ClientSizeToLogical(rectangle.Size));
AuthoringOM\Design\CompositeActivityDesigner.cs (3)
243Rectangle expandButtonRectangle = new Rectangle(bounds.Location, designerTheme.ExpandButtonSize); 302Rectangle imageRectangle = new Rectangle(bounds.Location, imageSize); 354Rectangle textRectangle = new Rectangle(bounds.Location, textSize);
AuthoringOM\Design\Connector.cs (1)
755return new Rectangle(parentView.LogicalPointToScreen(bounds.Location), parentView.LogicalSizeToClient(bounds.Size));
AuthoringOM\Design\DesignerHelpers.cs (1)
497Point location = designerBounds.Location;
AuthoringOM\Design\DesignerWidgets.cs (10)
323return this.bounds.Location; 328if (this.bounds.Location != value) 633return this.bounds.Location; 638if (this.bounds.Location != value) 1772TabChange(this, new TabSelectionChangeEventArgs(previousTab, currentTab, new Rectangle(PointToScreen(tabItemBounds.Location), tabItemBounds.Size))); 2576return this.bounds.Location; 2581if (this.bounds.Location == value) 2953bounds = new Rectangle(workflowView.LogicalPointToScreen(bounds.Location), workflowView.LogicalSizeToClient(bounds.Size)); 3233return this.bounds.Location; 3598bounds = new Rectangle(workflowView.LogicalPointToScreen(bounds.Location), workflowView.LogicalSizeToClient(bounds.Size));
AuthoringOM\Design\FreeFormDesigner.cs (3)
796newLocation = childRectangle.Location; 1054locationProperty.SetValue(designer.Activity, bounds.Location); 1056designer.Location = bounds.Location;
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (2)
55grabHandles[0] = new Rectangle(selectionRect.Location, grabHandleSize); 68grabHandles[0] = new Rectangle(selectionRect.Location, grabHandleSize);
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (3)
302Point actionLocation = GetActionBounds(i).Location; 325return new Rectangle(ActivityDesignerPaint.GetRectangleFromAlignment(action.DockAlignment, bounds, action.Bounds.Size).Location, action.Bounds.Size); 332buttonBounds.Offset(bounds.Location);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (2)
170Point center = parentView.LogicalPointToClient(new Point(dragRectangle.Location.X + dragRectangle.Width / 2, dragRectangle.Location.Y + dragRectangle.Height / 2));
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
312dropTargets[0].Size = new Size(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), Location.Y + Size.Height - dropTargets[0].Location.Y);
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
528glyphLocation = new Point(connectors[i].Location.X + connectors[i].Size.Width / 2 + 1, connectors[i].Location.Y + connectors[i].Size.Height / 2);
AuthoringOM\Design\WorkflowLayouts.cs (4)
157Point[] logicalViewPortOrigin = new Point[] { viewPortData.LogicalViewPort.Location }; 245Point[] logicalViewPortOrigin = new Point[] { viewPortData.LogicalViewPort.Location }; 570points = new Point[] { viewPortBitmapArea.Location, new Point(viewPortBitmapArea.Size) }; 676points = new Point[] { viewPortBitmapArea.Location, new Point(viewPortBitmapArea.Size) };
AuthoringOM\Design\WorkflowView.cs (4)
1579Point[] logicalViewPortOrigin = new Point[] { viewPortData.LogicalViewPort.Location }; 1739if (!clientRectangle.Contains(rect.Location) || !clientRectangle.Contains(new Point(rect.Right, rect.Bottom))) 2080return new Rectangle(LogicalPointToClient(clientViewPort.Location, false), LogicalSizeToClient(clientViewPort.Size)); 2088Rectangle scaledLogicalViewPort = new Rectangle(ClientPointToLogical(rectangle.Location, false), ClientSizeToLogical(rectangle.Size));
System.WorkflowServices (3)
System\Workflow\Activities\Design\RichListBox.cs (3)
128activeItemViewControl.Location = e.Bounds.Location; 140itemLocations[itemToDraw] = e.Bounds.Location; 142e.Graphics.DrawImage(rendererBitmap, e.Bounds.Location);