23 writes to Viewport
PresentationFramework (4)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
88tileBrush.Viewport = new Rect(0, 0, HatchBorderMargin, HatchBorderMargin);
System\Windows\Controls\ComboBox.cs (2)
918visualBrush.Viewport = new Rect(_clonedElement.RenderSize); 979visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
168brush.Viewport = new Rect(0, 0, 3, 3);
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
72newBrush.Viewport = newBrush.Viewbox = new Rect(-width, 0, twiceWidth, height);
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
72newBrush.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)
67newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 102newBrush.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)
67newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 102newBrush.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)
67newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 102newBrush.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)
67newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 102newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height);
ReachFramework (7)
AlphaFlattener\BrushProxy.cs (5)
450tb.Viewport = viewport; 1348newBrush.Viewport = currentBrush.Viewport; 1431brush.Viewport = brush.Viewbox; 3157drawingBrush.Viewport = vb.Viewport; 3194db.Viewport = ib.Viewport;
AlphaFlattener\Primitive.cs (2)
1423tb.Viewport = geometryViewbox; 1874brush.Viewport = DstRect;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
561visualBrush.Viewport = new Rect(_clonedElement.RenderSize); 615visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
25 references to Viewport
PresentationCore (4)
System\Windows\Media\Generated\DrawingBrush.cs (1)
239data.Viewport = Viewport;
System\Windows\Media\Generated\ImageBrush.cs (1)
239data.Viewport = Viewport;
System\Windows\Media\Generated\VisualBrush.cs (1)
275data.Viewport = Viewport;
System\Windows\Media\TileBrush.cs (1)
105Rect viewport = Viewport;
ReachFramework (21)
AlphaFlattener\BrushProxy.cs (10)
1199Rect viewport = tileBrush.Viewport; 1348newBrush.Viewport = currentBrush.Viewport; 1751if (!worldContent.Contains(brush.Viewport)) 2221Rect viewportA = tA.Viewport; 2227Rect viewportB = tB.Viewport; 2345Rect viewport = ib.Viewport; 2357image.PushOpacity(_opacity, _opacityMask, ib.Viewport, Matrix.Identity); 2902if (! Utility.IsRenderVisible(tileBrush.Viewport) || 3157drawingBrush.Viewport = vb.Viewport; 3194db.Viewport = ib.Viewport;
AlphaFlattener\ImageProxy.cs (1)
179viewport = opacityBrush.Viewport;
AlphaFlattener\Primitive.cs (4)
750startTile = brush.Viewport; 1408if (!tb.Viewport.Contains(geometryViewbox)) 1413RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport); 1465Geometry = new RectangleGeometry(tb.Viewport);
AlphaFlattener\Utility.cs (3)
1500if (! (bp.Brush as TileBrush).Viewport.Contains(maskBounds)) 1648Rect viewport = brush.Viewport; 1748brush.Viewport
Serialization\VisualSerializer.cs (3)
444double dstwidth = brush.Viewport.Width * bounds.Width; 445double dstheight = brush.Viewport.Height * bounds.Height; 539Rect vp = brush.Viewport;