6 overrides of Bounds
PresentationCore (6)
System\Windows\Media\CombinedGeometry.cs (1)
103public override Rect Bounds
System\Windows\Media\EllipseGeometry.cs (1)
69public override Rect Bounds
System\Windows\Media\LineGeometry.cs (1)
50public override Rect Bounds
System\Windows\Media\PathGeometry.cs (1)
675public override Rect Bounds
System\Windows\Media\RectangleGeometry.cs (1)
66public override Rect Bounds
System\Windows\Media\StreamGeometry.cs (1)
150public override Rect Bounds
66 references to Bounds
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
LineSeparators\LineSeparatorTag.cs (1)
51Canvas.SetTop(border, bounds.Bounds.Bottom - border.Height);
PresentationCore (3)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
283Rect clipBounds = clipGeometry.Bounds;
System\Windows\Media\Visual.cs (2)
571bboxSubgraph.Intersect(clip.Bounds); 1104bboxSubgraph.Intersect(clip.Bounds);
PresentationFramework (27)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
694_bodyHeight = markerGeometry.Children[1].Bounds.Height; 695_topTailHeight = markerGeometry.Children[0].Bounds.Height; 696_bottomTailHeight = markerGeometry.Children[2].Bounds.Height;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
464Rect rectBounds = VisualTreeHelper.GetClip(visual).Bounds;
MS\Internal\LayoutDump.cs (2)
220DumpRect(writer, "Clip.Bounds", clip.Bounds); 252DumpRect(writer, "Clip.Bounds", clip.Bounds);
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
254Rect clipBounds = VisualTreeHelper.GetClip(visual).Bounds;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (3)
75Rect rectElement = geometry.Bounds; 172Rect visibleRect = (geometry != null) ? geometry.Bounds : Rect.Empty; 184Rect rectBounds = VisualTreeHelper.GetClip(visual).Bounds;
System\Windows\Controls\TextAdaptor.cs (2)
144lineRect = geometry.Bounds; 347Rect rectBounds = VisualTreeHelper.GetClip(visual).Bounds;
System\Windows\Documents\AdornerLayer.cs (2)
734(adornerInfo.Clip != null && clip != null && adornerInfo.Clip.Bounds != clip.Bounds))
System\Windows\Documents\FixedHighlight.cs (1)
120return p.Data.Bounds;
System\Windows\Documents\FixedPage.cs (1)
1260_RenderLabel(dc, order.ToString(), renderGeom.Bounds);
System\Windows\Documents\FixedPageStructure.cs (2)
349Rect boundingRect = path.Data.Bounds; 596boundingRect = path.Data.Bounds;
System\Windows\Documents\FixedSOMImage.cs (1)
82Rect sourceRect = path.Data.Bounds;
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
298if (fill && _ProcessFilledRect(transform, geom.Bounds))
System\Windows\Documents\FixedTextBuilder.cs (2)
1185_boundingRect = geom.Bounds; //Get bounding rect 1341Rect r = g.Bounds;
System\Windows\Documents\FixedTextView.cs (2)
217Rect bounds = path.Data.Bounds; 275Rect clipRect = fh.Element.Clip.Bounds;
System\Windows\Documents\HighlightVisual.cs (1)
221Rect clipRect = fh.Element.Clip.Bounds;
System\windows\Documents\TextEditorContextMenu.cs (1)
343Rect bounds = clip.Bounds;
System\Windows\Shapes\Shape.cs (1)
725return geometry.Bounds;
ReachFramework (35)
AlphaFlattener\BrushProxy.cs (6)
1642Rect bounds = shape.Bounds; 1713if (!Utility.IsRenderVisible(shape.Bounds)) 3033visualBounds.Intersect(visualClip.Bounds); 3130visualBounds.Intersect(visualClip.Bounds); 4026_bounds = xgeometry.Bounds; 4214Rect bounds = shape.Bounds;
AlphaFlattener\DrawingContext.cs (5)
574Rect bounds = shape.Bounds; 602Rect bounds = shape.Bounds; 652Rect bounds = g.Bounds; 842if (!Utility.IsRenderVisible(clip.Bounds)) 863BitmapSource clippedImageSource = image.GetClippedImage(imageClip.Bounds, out clippedImageBounds);
AlphaFlattener\Primitive.cs (8)
332Rect bounds = gd.Geometry.Bounds; 396gd.GlyphRun.BuildGeometry().Bounds, 847Rect brushGeometryBounds = brushGeometry.Bounds; 875worldGeometry.Bounds.Width, 876worldGeometry.Bounds.Height 1591result = Geometry.Bounds; 1604result = g.Bounds; 2180bounds = Rect.Intersect(bounds, primitive.Clip.Bounds);
AlphaFlattener\PrimitiveList.cs (2)
146Console.Write(LeftPad(clip.Bounds, 0)); 272Rect bounds = p.Clip.Bounds;
AlphaFlattener\PrimitiveRenderer.cs (1)
476Rect drawBounds = clipImageSpace.Bounds;
AlphaFlattener\Utility.cs (10)
425Rect bounds = shape.Bounds; 692Rect bounds1 = one.Bounds; 693Rect bounds2 = two.Bounds; 726Rect bounds1 = one.Bounds; 727Rect bounds2 = two.Bounds; 779if (one.Bounds.IntersectsWith(two.Bounds)) 829Rect cBounds = clip.Bounds; 1591bounds.Intersect(clip.Bounds); 2126if (drawing.ClipGeometry != null && !Utility.IsRenderVisible(drawing.ClipGeometry.Bounds))
Serialization\DrawingContextFlattener.cs (1)
248Rect bounds = geometry.Bounds;
Serialization\VisualSerializer.cs (1)
1916WriteBrush("Fill", brush, geometry.Bounds);
Serialization\VisualTreeFlattener.cs (1)
468if ((clip != null) && !Utility.IsRenderVisible(clip.Bounds))