17 writes to ViewportUnits
PresentationCore (1)
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
440vb.ViewportUnits = BrushMappingMode.Absolute;
PresentationFramework (3)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
89tileBrush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Controls\ComboBox.cs (1)
917visualBrush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Documents\SpellerHighlightLayer.cs (1)
169brush.ViewportUnits = BrushMappingMode.Absolute;
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
73newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
73newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
68newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
68newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
68newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
68newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (5)
449tb.ViewportUnits = BrushMappingMode.Absolute; 1349newBrush.ViewportUnits = currentBrush.ViewportUnits; 1430brush.ViewportUnits = BrushMappingMode.Absolute; 3158drawingBrush.ViewportUnits = vb.ViewportUnits; 3195db.ViewportUnits = ib.ViewportUnits;
AlphaFlattener\Primitive.cs (1)
1873brush.ViewportUnits = BrushMappingMode.Absolute;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
560visualBrush.ViewportUnits = BrushMappingMode.Absolute;
18 references to ViewportUnits
PresentationCore (4)
System\Windows\Media\Generated\DrawingBrush.cs (1)
235data.ViewportUnits = ViewportUnits;
System\Windows\Media\Generated\ImageBrush.cs (1)
235data.ViewportUnits = ViewportUnits;
System\Windows\Media\Generated\VisualBrush.cs (1)
271data.ViewportUnits = ViewportUnits;
System\Windows\Media\TileBrush.cs (1)
140ViewportUnits,
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
433if (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1198Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1230Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1349newBrush.ViewportUnits = currentBrush.ViewportUnits; 1737Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute); 2704Debug.Assert(tb.ViewportUnits == BrushMappingMode.Absolute, "absolute brush required for BrushProxy"); 3158drawingBrush.ViewportUnits = vb.ViewportUnits; 3195db.ViewportUnits = ib.ViewportUnits;
AlphaFlattener\ImageProxy.cs (1)
177Debug.Assert(opacityBrush.ViewportUnits == BrushMappingMode.Absolute, "TileBrush must have absolute viewport by this point");
AlphaFlattener\Primitive.cs (1)
751Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
AlphaFlattener\Utility.cs (2)
1650if (brush.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1743Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
Serialization\VisualSerializer.cs (2)
430BrushMappingMode mapmode = brush.ViewportUnits; 1736return (tb is VisualBrush) || (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox);