6 overrides of Bounds
PresentationCore (6)
System\Windows\Media\CombinedGeometry.cs (1)
102public override Rect Bounds
System\Windows\Media\EllipseGeometry.cs (1)
68public override Rect Bounds
System\Windows\Media\LineGeometry.cs (1)
49public override Rect Bounds
System\Windows\Media\PathGeometry.cs (1)
674public override Rect Bounds
System\Windows\Media\RectangleGeometry.cs (1)
65public override Rect Bounds
System\Windows\Media\StreamGeometry.cs (1)
149public 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)
282Rect clipBounds = clipGeometry.Bounds;
System\Windows\Media\Visual.cs (2)
570bboxSubgraph.Intersect(clip.Bounds); 1101bboxSubgraph.Intersect(clip.Bounds);
PresentationFramework (27)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
693_bodyHeight = markerGeometry.Children[1].Bounds.Height; 694_topTailHeight = markerGeometry.Children[0].Bounds.Height; 695_bottomTailHeight = markerGeometry.Children[2].Bounds.Height;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
463Rect rectBounds = VisualTreeHelper.GetClip(visual).Bounds;
MS\Internal\LayoutDump.cs (2)
219DumpRect(writer, "Clip.Bounds", clip.Bounds); 251DumpRect(writer, "Clip.Bounds", clip.Bounds);
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
253Rect clipBounds = VisualTreeHelper.GetClip(visual).Bounds;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (3)
74Rect rectElement = geometry.Bounds; 171Rect visibleRect = (geometry != null) ? geometry.Bounds : Rect.Empty; 183Rect rectBounds = VisualTreeHelper.GetClip(visual).Bounds;
System\Windows\Controls\TextAdaptor.cs (2)
146lineRect = geometry.Bounds; 349Rect rectBounds = VisualTreeHelper.GetClip(visual).Bounds;
System\Windows\Documents\AdornerLayer.cs (2)
733(adornerInfo.Clip != null && clip != null && adornerInfo.Clip.Bounds != clip.Bounds))
System\Windows\Documents\FixedHighlight.cs (1)
119return p.Data.Bounds;
System\Windows\Documents\FixedPage.cs (1)
1259_RenderLabel(dc, order.ToString(), renderGeom.Bounds);
System\Windows\Documents\FixedPageStructure.cs (2)
348Rect boundingRect = path.Data.Bounds; 595boundingRect = path.Data.Bounds;
System\Windows\Documents\FixedSOMImage.cs (1)
81Rect sourceRect = path.Data.Bounds;
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
297if (fill && _ProcessFilledRect(transform, geom.Bounds))
System\Windows\Documents\FixedTextBuilder.cs (2)
1184_boundingRect = geom.Bounds; //Get bounding rect 1340Rect r = g.Bounds;
System\Windows\Documents\FixedTextView.cs (2)
216Rect bounds = path.Data.Bounds; 274Rect clipRect = fh.Element.Clip.Bounds;
System\Windows\Documents\HighlightVisual.cs (1)
220Rect clipRect = fh.Element.Clip.Bounds;
System\windows\Documents\TextEditorContextMenu.cs (1)
342Rect bounds = clip.Bounds;
System\Windows\Shapes\Shape.cs (1)
724return geometry.Bounds;
ReachFramework (35)
AlphaFlattener\BrushProxy.cs (6)
1641Rect bounds = shape.Bounds; 1712if (!Utility.IsRenderVisible(shape.Bounds)) 3032visualBounds.Intersect(visualClip.Bounds); 3129visualBounds.Intersect(visualClip.Bounds); 4025_bounds = xgeometry.Bounds; 4213Rect bounds = shape.Bounds;
AlphaFlattener\DrawingContext.cs (5)
573Rect bounds = shape.Bounds; 601Rect bounds = shape.Bounds; 651Rect bounds = g.Bounds; 841if (!Utility.IsRenderVisible(clip.Bounds)) 862BitmapSource clippedImageSource = image.GetClippedImage(imageClip.Bounds, out clippedImageBounds);
AlphaFlattener\Primitive.cs (8)
331Rect bounds = gd.Geometry.Bounds; 395gd.GlyphRun.BuildGeometry().Bounds, 846Rect brushGeometryBounds = brushGeometry.Bounds; 874worldGeometry.Bounds.Width, 875worldGeometry.Bounds.Height 1590result = Geometry.Bounds; 1603result = g.Bounds; 2179bounds = Rect.Intersect(bounds, primitive.Clip.Bounds);
AlphaFlattener\PrimitiveList.cs (2)
145Console.Write(LeftPad(clip.Bounds, 0)); 271Rect bounds = p.Clip.Bounds;
AlphaFlattener\PrimitiveRenderer.cs (1)
475Rect drawBounds = clipImageSpace.Bounds;
AlphaFlattener\Utility.cs (10)
424Rect bounds = shape.Bounds; 691Rect bounds1 = one.Bounds; 692Rect bounds2 = two.Bounds; 725Rect bounds1 = one.Bounds; 726Rect bounds2 = two.Bounds; 778if (one.Bounds.IntersectsWith(two.Bounds)) 828Rect cBounds = clip.Bounds; 1590bounds.Intersect(clip.Bounds); 2125if (drawing.ClipGeometry != null && !Utility.IsRenderVisible(drawing.ClipGeometry.Bounds))
Serialization\DrawingContextFlattener.cs (1)
247Rect bounds = geometry.Bounds;
Serialization\VisualSerializer.cs (1)
1915WriteBrush("Fill", brush, geometry.Bounds);
Serialization\VisualTreeFlattener.cs (1)
467if ((clip != null) && !Utility.IsRenderVisible(clip.Bounds))