176 references to Rectangle
System.Drawing (1)
misc\GDI\WindowsRegion.cs (1)
196
return new
Rectangle
(new Point(rect.left, rect.top), rect.Size);
System.Windows.Forms (95)
misc\GDI\WindowsRegion.cs (1)
196
return new
Rectangle
(new Point(rect.left, rect.top), rect.Size);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (3)
104
Rectangle glyphBounds = new
Rectangle
(glyphLocation, GetGlyphSize(g, state, hWnd));
145
Rectangle glyphBounds = new
Rectangle
(glyphLocation, GetGlyphSize(g, state, hWnd));
191
Rectangle glyphBounds = new
Rectangle
(glyphLocation, GetGlyphSize(g, state));
winforms\Managed\System\WinForms\ComboBox.cs (1)
5934
outerBorder = new
Rectangle
(clientRect.Location, new Size(clientRect.Width - 1, clientRect.Height - 1));
winforms\Managed\System\WinForms\Control.cs (2)
10362
PrintToMetaFileRecursive(hDC, lParam, new
Rectangle
(Point.Empty, this.Size));
10383
Rectangle clientBounds = new
Rectangle
(clientOffset, ClientSize);
winforms\Managed\System\WinForms\ControlPaint.cs (2)
502
Rectangle partOfImageToDraw = new
Rectangle
(Point.Empty, imageRect.Size);
509
Rectangle partOfImageToDraw = new
Rectangle
(new Point(imageRect.X - imageRectangle.X, imageRect.Y - imageRectangle.Y)
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
1244
cellBounds = new
Rectangle
(new Point(0, 0), GetSize(rowIndex));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
19353
Invalidate(new
Rectangle
(new Point(-pt.X, ColumnHeadersHeight),
19364
Invalidate(new
Rectangle
(new Point(ClientSize.Width - (pt.X - rect.Right) - step, ColumnHeadersHeight),
19371
Invalidate(new
Rectangle
(new Point(0, -pt.Y),
19378
Invalidate(new
Rectangle
(new Point(0, ColumnHeadersHeight),
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (1)
344
return new
Rectangle
(GetTextLocation(cellBounds, sizeConstraint, flags, cellStyle), sizeConstraint);
winforms\Managed\System\WinForms\Label.cs (1)
1624
ControlPaint.PrintBorder(g, new
Rectangle
(Point.Empty, Size), BorderStyle, Border3DStyle.SunkenOuter);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
91
Rectangle newBounds = new
Rectangle
(location, newSize);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
57
Rectangle measureBounds = new
Rectangle
(new Point(0, 0), proposedConstraints);
220
Rectangle cellBounds = new
Rectangle
(location, new Size(requiredSize.Width, rowBounds.Height));
winforms\Managed\System\WinForms\Panel.cs (1)
296
ControlPaint.PrintBorder(g, new
Rectangle
(Point.Empty, Size), BorderStyle, Border3DStyle.Sunken);
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (3)
103
Rectangle glyphBounds = new
Rectangle
(glyphLocation, GetGlyphSize(g, state, hWnd));
138
Rectangle glyphBounds = new
Rectangle
(glyphLocation, GetGlyphSize(g, state, hWnd));
184
Rectangle glyphBounds = new
Rectangle
(glyphLocation, GetGlyphSize(g, state, hWnd));
winforms\Managed\System\WinForms\ToolStrip.cs (3)
4026
Rectangle comparisonRect = new
Rectangle
(point, onePixel);
4180
item.SetBounds(new
Rectangle
(location, item.Size));
4621
cursorLocation = WindowsFormsUtils.ConstrainToScreenBounds(new
Rectangle
(cursorLocation, onePixel)).Location;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
1214
Rectangle suggestedScreenBounds = new
Rectangle
(screenPoint, suggestedBounds.Size);
1230
dropDownBounds = new
Rectangle
(parentClientPoint, suggestedBounds.Size);
1247
Rectangle dropDownBounds = new
Rectangle
(Point.Empty, GetSuggestedSize());
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (3)
122
Rectangle ownerItemBounds = new
Rectangle
(TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), Size);
382
Rectangle dropDownBounds = new
Rectangle
(Point.Empty, DropDown.GetSuggestedSize());
387
Rectangle itemScreenBounds = new
Rectangle
(this.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), this.Size);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (5)
474
textRectangle = new
Rectangle
(nextPoint, maxTextSize);
479
arrowRectangle = new
Rectangle
(nextPoint, maxArrowSize);
510
textRectangle.Y = LayoutUtils.VAlign(textRectangle.Size, new
Rectangle
(Point.Empty, maxItemSize), ContentAlignment.MiddleCenter).Y;
783
UpScrollButton.SetBounds(new
Rectangle
(upLocation, upSize));
789
DownScrollButton.SetBounds(new
Rectangle
(downLocation, downSize));
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (7)
138
Rectangle bounds = new
Rectangle
(Point.Empty, e.Item.Size);
185
DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new
Rectangle
(Point.Empty, item.Size), arrowColor, ArrowDirection.Down));
227
Rectangle bounds = new
Rectangle
(Point.Empty, e.ToolStrip.Size);
254
Rectangle bounds = new
Rectangle
(Point.Empty, e.ToolStrip.Size);
313
Rectangle bounds = new
Rectangle
(Point.Empty, e.Item.Size);
393
Rectangle bounds = new
Rectangle
(Point.Empty, e.Item.Size);
420
Rectangle bounds = new
Rectangle
(Point.Empty, e.Item.Size);
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
2753
ParentInternal.Invalidate(new
Rectangle
(rectangleLocation, r.Size), true);
4406
return new
Rectangle
(Owner.ParentInternal.PointToScreen(bounds.Location), bounds.Size);
4693
Rectangle bounds = new
Rectangle
(Point.Empty, ownerItem.Size);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
820
ControlPaint.DrawCaptionButton(g, new
Rectangle
(Point.Empty, image.Size), (CaptionButton)buttonToUse, ButtonState.Flat);
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (1)
41
Rectangle bounds = new
Rectangle
(Point.Empty, e.ToolStrip.Size);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (25)
216
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
232
RenderSeparatorInternal(e.Graphics, e.Item, new
Rectangle
(Point.Empty, e.Item.Size), e.Vertical);
247
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
314
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
375
Rectangle bounds = new
Rectangle
(Point.Empty, toolStrip.Size);
492
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
673
e.Graphics.DrawImage(image, imageRect, new
Rectangle
(Point.Empty, imageRect.Size), GraphicsUnit.Pixel);
732
Rectangle bounds = new
Rectangle
(Point.Empty, toolStrip.Size);
748
Rectangle topLeftParentHorizontalPixels = new
Rectangle
(topLeft, onePix);
749
Rectangle bottomLeftParentHorizontalPixels = new
Rectangle
(bottomLeft, new Size(2, 1));
958
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
983
Rectangle gradientBounds = new
Rectangle
(Point.Empty, parent.Size);
987
g.FillRectangle(b, new
Rectangle
(Point.Empty, control.Size));
992
Rectangle gradientBounds = new
Rectangle
(Point.Empty, control.Size);
1003
g.FillRectangle(b, new
Rectangle
(Point.Empty, control.Size));
1014
Rectangle bounds = new
Rectangle
(Point.Empty, e.ToolStrip.Size);
1024
Rectangle bounds = new
Rectangle
(Point.Empty, e.ToolStrip.Size);
1036
Rectangle bounds = new
Rectangle
(Point.Empty, toolStripDropDown.Size);
1056
Rectangle overflowBoundsFill = new
Rectangle
(Point.Empty, e.Item.Size);
1155
Rectangle bounds = new
Rectangle
(Point.Empty, e.ToolStrip.Size);
1172
Rectangle topLeftShadowRect = new
Rectangle
(topLeft, onePix);
1176
Rectangle topLeftShadowRect2 = new
Rectangle
(topLeft, onePix);
1180
Rectangle topRightShadowRect = new
Rectangle
(topRight, onePix);
1207
g.FillRectangle(b, new
Rectangle
(gradientCopyPixel, onePix));
1371
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
878
e.Graphics.DrawImage(image, imageRect, new
Rectangle
(Point.Empty,imageRect.Size), GraphicsUnit.Pixel);
942
TextRenderer.DrawText(textGraphics, text, textFont, new
Rectangle
(Point.Empty, textSize), textColor, textFormat);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (2)
30
this.affectedBounds = new
Rectangle
(Point.Empty, toolStrip.Size);
113
Rectangle itemBounds = new
Rectangle
(toolStrip.PointToClient(ownerItem.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords)), ownerItem.Size);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (3)
368
Rectangle dropDownButtonBounds = new
Rectangle
(Point.Empty, this.Size);
372
dropDownButtonBounds = new
Rectangle
(Point.Empty, new Size(Math.Min(this.Width, DropDownButtonWidth), this.Height));
378
splitButtonButtonBounds = new
Rectangle
(Point.Empty, new Size(splitButtonButtonWidth, splitButtonButtonHeight));
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (2)
518
Rectangle itemBounds = new
Rectangle
(itemLocation, itemSize);
544
item.SetBounds(new
Rectangle
(itemLocation, itemSize));
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (9)
258
Rectangle bounds = new
Rectangle
(Point.Empty, e.GripBounds.Size);
341
vsRenderer.DrawBackground(g, new
Rectangle
(Point.Empty, item.Size));
347
DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new
Rectangle
(Point.Empty, item.Size), arrowColor, ArrowDirection.Down));
374
Rectangle bounds = new
Rectangle
(Point.Empty, item.Size);
392
Rectangle fillRect = new
Rectangle
(Point.Empty, item.Size);
437
RenderSeparatorInternal(e.Graphics, e.Item, new
Rectangle
(Point.Empty, e.Item.Size), e.Vertical);
466
Rectangle bounds = new
Rectangle
(Point.Empty, splitButton.Size);
576
vsRenderer.DrawBackground(g, new
Rectangle
(Point.Empty, item.Size));
579
RenderSmall3DBorderInternal(g, new
Rectangle
(Point.Empty, item.Size), state, (item.RightToLeft == RightToLeft.Yes));
winforms\Managed\System\WinForms\TreeView.cs (1)
2828
bounds = new
Rectangle
(textLoc, new Size(textSize.Width, bounds.Height));
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1093
Rectangle clientArea = new
Rectangle
(Point.Empty, ClientSize);
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
738
this.graphics.SetClip(new
Rectangle
(Point.Empty, translatedBounds.Size));
System.Workflow.Activities (6)
Designers\SetStateDesigner.cs (1)
99
return new
Rectangle
(location, size);
Designers\StateDesigner.Layouts.cs (4)
124
return new
Rectangle
(_location, _size);
407
Rectangle rectangle = new
Rectangle
(_imageLocation, _imageSize);
416
Rectangle rectangle = new
Rectangle
(_textLocation, _textSize);
1205
Rectangle rectangle = new
Rectangle
(location, size);
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
440
Rectangle listboxRectangle = new
Rectangle
(locationInDialog, this.listBoxAutoComplete.Size);
System.Workflow.ComponentModel (73)
AuthoringOM\Design\ActivityDesigner.cs (4)
264
return new
Rectangle
(Location, Size);
1072
Rectangle viewPort = new
Rectangle
(bounds.Location, new Size(bounds.Width + 1, bounds.Height + 1));
1895
return new
Rectangle
(PointToScreen(rectangle.Location), parentView.LogicalSizeToClient(rectangle.Size));
1916
return new
Rectangle
(PointToLogical(rectangle.Location), parentView.ClientSizeToLogical(rectangle.Size));
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
992
rectangle = new
Rectangle
(configErrorLocation, configErrorSize);
AuthoringOM\Design\CompositeActivityDesigner.cs (3)
243
Rectangle expandButtonRectangle = new
Rectangle
(bounds.Location, designerTheme.ExpandButtonSize);
302
Rectangle imageRectangle = new
Rectangle
(bounds.Location, imageSize);
354
Rectangle textRectangle = new
Rectangle
(bounds.Location, textSize);
AuthoringOM\Design\Connector.cs (2)
137
Rectangle enclosingBounds = new
Rectangle
(new Point(location.X - size.Width / 2, location.Y - size.Height / 2), size);
755
return new
Rectangle
(parentView.LogicalPointToScreen(bounds.Location), parentView.LogicalSizeToClient(bounds.Size));
AuthoringOM\Design\DesignerHelpers.cs (7)
135
DrawImage(graphics, image, destination, new
Rectangle
(Point.Empty, image.Size), alignment, 1.0f, false);
143
DrawImage(graphics, image, destination, new
Rectangle
(Point.Empty, image.Size), DesignerContentAlignment.Center, transparency, false);
321
DrawImage(graphics, image, bounds, new
Rectangle
(Point.Empty, image.Size), DesignerContentAlignment.Fill, transparency, (buttonState == ButtonState.Inactive));
339
graphics.FillRectangle(ambientTheme.MajorGridBrush, new
Rectangle
(new Point(gridCoOrdX, gridCoOrdY), new Size(1, 1)));
343
graphics.FillRectangle(ambientTheme.MinorGridBrush, new
Rectangle
(new Point(gridCoOrdX + ambientTheme.GridSize.Width / 2, gridCoOrdY + ambientTheme.GridSize.Height / 2), new Size(1, 1)));
516
DrawImage(graphics, compositeDesignerTheme.WatermarkImage, bounds, new
Rectangle
(Point.Empty, compositeDesignerTheme.WatermarkImage.Size), compositeDesignerTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
1894
Rectangle enclosingRect = new
Rectangle
(leftTop, new Size(rightBottom.X - leftTop.X, rightBottom.Y - leftTop.Y));
AuthoringOM\Design\DesignerWidgets.cs (6)
1257
graphics.DrawImage(this.enabledItems[i].Image, new
Rectangle
(imagePoint, imageSize), new
Rectangle
(Point.Empty, imageSize), GraphicsUnit.Pixel);
1772
TabChange(this, new TabSelectionChangeEventArgs(previousTab, currentTab, new
Rectangle
(PointToScreen(tabItemBounds.Location), tabItemBounds.Size)));
2953
bounds = new
Rectangle
(workflowView.LogicalPointToScreen(bounds.Location), workflowView.LogicalSizeToClient(bounds.Size));
3470
graphics.DrawImage(previewedActivityImage, destnRectangle, new
Rectangle
(Point.Empty, previewedActivityImage.Size), GraphicsUnit.Pixel);
3598
bounds = new
Rectangle
(workflowView.LogicalPointToScreen(bounds.Location), workflowView.LogicalSizeToClient(bounds.Size));
AuthoringOM\Design\FreeFormDesigner.cs (4)
518
FreeformActivityDesigner.SetDesignerBounds(containedDesigner, new
Rectangle
(newLocation, containedDesigner.Size));
537
FreeformActivityDesigner.SetDesignerBounds(containedDesigner, new
Rectangle
(containedDesigner.Location, newSize));
988
ParentView.InvalidateClientRectangle(new
Rectangle
(designer.Location, designer.Size));
990
ParentView.InvalidateClientRectangle(new
Rectangle
(designer.Location, designer.Size));
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (1)
53
Rectangle bounds = new
Rectangle
(configErrorLocation, configErrorSize);
AuthoringOM\Design\Glyphs\ConnectorDragDropGlyph.cs (1)
26
return new
Rectangle
(this.glyphPoint, WorkflowTheme.CurrentTheme.AmbientTheme.DropIndicatorSize);
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (6)
55
grabHandles[0] = new
Rectangle
(selectionRect.Location, grabHandleSize);
56
grabHandles[1] = new
Rectangle
(new Point(selectionRect.Left + (selectionRect.Width - grabHandleSize.Width) / 2, selectionRect.Top), grabHandleSize);
58
grabHandles[3] = new
Rectangle
(new Point(selectionRect.Right - grabHandleSize.Width, selectionRect.Top + (selectionRect.Height - grabHandleSize.Height) / 2), grabHandleSize);
60
grabHandles[5] = new
Rectangle
(new Point(selectionRect.Left + (selectionRect.Width - grabHandleSize.Width) / 2, selectionRect.Bottom - grabHandleSize.Height), grabHandleSize);
62
grabHandles[7] = new
Rectangle
(new Point(selectionRect.Left, selectionRect.Top + (selectionRect.Height - grabHandleSize.Height) / 2), grabHandleSize);
68
grabHandles[0] = new
Rectangle
(selectionRect.Location, grabHandleSize);
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (2)
112
Rectangle clientRectangle = new
Rectangle
(Point.Empty, ParentView.ViewPortSize);
153
Rectangle clientRectangle = new
Rectangle
(Point.Empty, ParentView.ViewPortSize);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (6)
396
parentView.InvalidateClientRectangle(new
Rectangle
(oldDragImagePoint, this.dragImage.Size));
397
parentView.InvalidateClientRectangle(new
Rectangle
(this.dragImagePointInClientCoOrd, this.dragImage.Size));
608
ActivityDesignerPaint.DrawImage(e.Graphics, this.dragImage, new
Rectangle
(this.dragImagePointInClientCoOrd, this.dragImage.Size), new Rectangle(0, 0, this.dragImage.Width, this.dragImage.Height), DesignerContentAlignment.Center, (this.dragImageSnapped) ? 1.0f : 0.5f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale);
673
Rectangle imageRectangle = (image != null) ? new
Rectangle
(Point.Empty, image.Size) : Rectangle.Empty;
674
Rectangle descriptionRectangle = (description.Length > 0) ? new
Rectangle
(Point.Empty, new Size(AmbientTheme.DragImageTextSize.Width, parentView.Font.Height + 2)) : Rectangle.Empty;
687
draggedImageGraphics.DrawImage(image, new
Rectangle
(Point.Empty, image.Size));
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (5)
321
Rectangle bounds = new
Rectangle
(Point.Empty, ParentView.ViewPortSize);
325
return new
Rectangle
(ActivityDesignerPaint.GetRectangleFromAlignment(action.DockAlignment, bounds, action.Bounds.Size).Location, action.Bounds.Size);
547
ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new
Rectangle
(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, transparency, (button.State == ActionButton.States.Disabled));
559
ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new
Rectangle
(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, this.transparency, false);
572
return new
Rectangle
(Point.Empty, size);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (3)
170
ActivityDesignerPaint.DrawImage(eventArgs.Graphics, this.draggedDesignerImages[i], new
Rectangle
(new Point(locations[i].X - 2 * ambientTheme.Margin.Width, locations[i].Y - 2 * ambientTheme.Margin.Height), imageSize), new
Rectangle
(Point.Empty, imageSize), DesignerContentAlignment.Fill, 0.4f, false);
232
Rectangle rectangle = new
Rectangle
(locations[i], this.draggedDesignerImages[i].Size);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
338
ActivityDesigner[] containedDesigners = GetActivityDesigners(parentView.ClientRectangleToLogical(new
Rectangle
(Point.Empty, parentView.ViewPortSize)));
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
518
Rectangle logicalViewPort = parentView.ClientRectangleToLogical(new
Rectangle
(Point.Empty, parentView.ViewPortSize));
AuthoringOM\Design\WorkflowLayouts.cs (11)
142
Rectangle workspaceRectangle = new
Rectangle
(Point.Empty, memoryBitmap.Size);
178
ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, this.parentView.RootDesigner.Bounds, new
Rectangle
(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
195
Rectangle bitmapArea = new
Rectangle
(Point.Empty, memoryBitmap.Size);
523
graphics.FillRectangle(Brushes.White, new
Rectangle
(Point.Empty, memoryBitmap.Size));
540
Rectangle physicalViewPort = new
Rectangle
(points[0], new Size(points[1]));
575
ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, viewPortBitmapArea, new
Rectangle
(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
596
Rectangle workspaceRectangle = new
Rectangle
(Point.Empty, memoryBitmap.Size);
613
Rectangle physicalViewPort = new
Rectangle
(points[0], new Size(points[1]));
681
ActivityDesignerPaint.DrawImage(graphics, memoryBitmap, new
Rectangle
(bitmapDrawingPoint, viewPortBitmapArea.Size), viewPortBitmapArea, DesignerContentAlignment.Fill, 1.0f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale);
813
Rectangle pageBounds = new
Rectangle
(pageLocation, this.pageSize);
814
Rectangle viewablePageBounds = new
Rectangle
(viewablePageLocation, viewablePageSize);
AuthoringOM\Design\WorkflowPrinting.cs (1)
138
ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, boundingRectangle, new
Rectangle
(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
AuthoringOM\Design\WorkflowView.cs (8)
437
return new
Rectangle
(ScrollPosition, ViewPortSize);
1039
viewPortData.LogicalViewPort = ClientRectangleToLogical(new
Rectangle
(Point.Empty, ViewPortSize));
1535
viewPortData.LogicalViewPort = new
Rectangle
(Point.Empty, new Size(rootDesigner.Bounds.Width + 2 * DefaultWorkflowLayout.Separator.Width, rootDesigner.Bounds.Height + 2 * DefaultWorkflowLayout.Separator.Height));
1660
viewPortGraphics.FillRectangle(shadowDepthBrush, new
Rectangle
(Point.Empty, new Size(memoryBitmap.Size.Width - viewPortData.ShadowDepth.Width - 1, memoryBitmap.Size.Height - viewPortData.ShadowDepth.Height - 1)));
1737
Rectangle clientRectangle = ClientRectangleToLogical(new
Rectangle
(Point.Empty, ViewPortSize));
2080
return new
Rectangle
(LogicalPointToClient(clientViewPort.Location, false), LogicalSizeToClient(clientViewPort.Size));
2088
Rectangle scaledLogicalViewPort = new
Rectangle
(ClientPointToLogical(rectangle.Location, false), ClientSizeToLogical(rectangle.Size));
2263
return new
Rectangle
(this.workflowView.PointToScreen(Point.Empty), this.workflowView.ViewPortSize);
System.WorkflowServices (1)
System\Workflow\Activities\Design\RichListBox.cs (1)
141
listItemRenderer.DrawToBitmap(rendererBitmap, new
Rectangle
(new Point(0, 0), listItemRenderer.Size));