23 writes to Viewport
PresentationFramework (4)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
81tileBrush.Viewport = new Rect(0, 0, HatchBorderMargin, HatchBorderMargin);
System\Windows\Controls\ComboBox.cs (2)
908visualBrush.Viewport = new Rect(_clonedElement.RenderSize); 969visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
165brush.Viewport = new Rect(0, 0, 3, 3);
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
70newBrush.Viewport = newBrush.Viewbox = new Rect(-width, 0, twiceWidth, height);
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
70newBrush.Viewport = newBrush.Viewbox = new Rect(-width, 0, twiceWidth, height);
PresentationFramework.AeroLite (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
65newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 100newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height);
PresentationFramework.Classic (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
65newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 100newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height);
PresentationFramework.Luna (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
65newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 100newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height);
PresentationFramework.Royale (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
65newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 100newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height);
ReachFramework (7)
AlphaFlattener\BrushProxy.cs (5)
446tb.Viewport = viewport; 1344newBrush.Viewport = currentBrush.Viewport; 1427brush.Viewport = brush.Viewbox; 3153drawingBrush.Viewport = vb.Viewport; 3190db.Viewport = ib.Viewport;
AlphaFlattener\Primitive.cs (2)
1418tb.Viewport = geometryViewbox; 1869brush.Viewport = DstRect;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
559visualBrush.Viewport = new Rect(_clonedElement.RenderSize); 613visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
25 references to Viewport
PresentationCore (4)
System\Windows\Media\Generated\DrawingBrush.cs (1)
211data.Viewport = Viewport;
System\Windows\Media\Generated\ImageBrush.cs (1)
211data.Viewport = Viewport;
System\Windows\Media\Generated\VisualBrush.cs (1)
248data.Viewport = Viewport;
System\Windows\Media\TileBrush.cs (1)
96Rect viewport = Viewport;
ReachFramework (21)
AlphaFlattener\BrushProxy.cs (10)
1195Rect viewport = tileBrush.Viewport; 1344newBrush.Viewport = currentBrush.Viewport; 1747if (!worldContent.Contains(brush.Viewport)) 2217Rect viewportA = tA.Viewport; 2223Rect viewportB = tB.Viewport; 2341Rect viewport = ib.Viewport; 2353image.PushOpacity(_opacity, _opacityMask, ib.Viewport, Matrix.Identity); 2898if (! Utility.IsRenderVisible(tileBrush.Viewport) || 3153drawingBrush.Viewport = vb.Viewport; 3190db.Viewport = ib.Viewport;
AlphaFlattener\ImageProxy.cs (1)
172viewport = opacityBrush.Viewport;
AlphaFlattener\Primitive.cs (4)
745startTile = brush.Viewport; 1403if (!tb.Viewport.Contains(geometryViewbox)) 1408RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport); 1460Geometry = new RectangleGeometry(tb.Viewport);
AlphaFlattener\Utility.cs (3)
1489if (! (bp.Brush as TileBrush).Viewport.Contains(maskBounds)) 1637Rect viewport = brush.Viewport; 1737brush.Viewport
Serialization\VisualSerializer.cs (3)
436double dstwidth = brush.Viewport.Width * bounds.Width; 437double dstheight = brush.Viewport.Height * bounds.Height; 531Rect vp = brush.Viewport;