23 writes to Viewport
PresentationFramework (4)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
80Viewport = new Rect(0, 0, HatchBorderMargin, HatchBorderMargin),
System\Windows\Controls\ComboBox.cs (2)
900Viewport = new Rect(_clonedElement.RenderSize) 964visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
165Viewport = new Rect(0, 0, 3, 3),
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
69newBrush.Viewport = newBrush.Viewbox = new Rect(-width, 0, twiceWidth, height);
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
69newBrush.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)
64newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 99newBrush.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)
64newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 99newBrush.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)
64newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 99newBrush.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)
64newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 99newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height);
ReachFramework (7)
AlphaFlattener\BrushProxy.cs (5)
446tb.Viewport = viewport; 1341newBrush.Viewport = currentBrush.Viewport; 1424brush.Viewport = brush.Viewbox; 3155drawingBrush.Viewport = vb.Viewport; 3192db.Viewport = ib.Viewport;
AlphaFlattener\Primitive.cs (2)
1418tb.Viewport = geometryViewbox; 1873Viewport = DstRect,
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
558Viewport = new Rect(_clonedElement.RenderSize) 615visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
25 references to Viewport
PresentationCore (4)
System\Windows\Media\Generated\DrawingBrush.cs (1)
225data.Viewport = Viewport;
System\Windows\Media\Generated\ImageBrush.cs (1)
225data.Viewport = Viewport;
System\Windows\Media\Generated\VisualBrush.cs (1)
257data.Viewport = Viewport;
System\Windows\Media\TileBrush.cs (1)
95Rect viewport = Viewport;
ReachFramework (21)
AlphaFlattener\BrushProxy.cs (10)
1192Rect viewport = tileBrush.Viewport; 1341newBrush.Viewport = currentBrush.Viewport; 1745if (!worldContent.Contains(brush.Viewport)) 2215Rect viewportA = tA.Viewport; 2221Rect viewportB = tB.Viewport; 2339Rect viewport = ib.Viewport; 2351image.PushOpacity(_opacity, _opacityMask, ib.Viewport, Matrix.Identity); 2897if (! Utility.IsRenderVisible(tileBrush.Viewport) || 3155drawingBrush.Viewport = vb.Viewport; 3192db.Viewport = ib.Viewport;
AlphaFlattener\ImageProxy.cs (1)
171viewport = opacityBrush.Viewport;
AlphaFlattener\Primitive.cs (4)
748startTile = brush.Viewport; 1401if (!tb.Viewport.Contains(geometryViewbox)) 1406RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport) 1462Geometry = new RectangleGeometry(tb.Viewport)
AlphaFlattener\Utility.cs (3)
1488if (! (bp.Brush as TileBrush).Viewport.Contains(maskBounds)) 1637Rect viewport = brush.Viewport; 1737brush.Viewport
Serialization\VisualSerializer.cs (3)
435double dstwidth = brush.Viewport.Width * bounds.Width; 436double dstheight = brush.Viewport.Height * bounds.Height; 530Rect vp = brush.Viewport;