17 writes to ViewportUnits
PresentationCore (1)
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
423vb.ViewportUnits = BrushMappingMode.Absolute;
PresentationFramework (3)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
82tileBrush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Controls\ComboBox.cs (1)
907visualBrush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Documents\SpellerHighlightLayer.cs (1)
166brush.ViewportUnits = BrushMappingMode.Absolute;
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
71newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
71newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
66newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
66newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
66newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
66newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (5)
445tb.ViewportUnits = BrushMappingMode.Absolute; 1345newBrush.ViewportUnits = currentBrush.ViewportUnits; 1426brush.ViewportUnits = BrushMappingMode.Absolute; 3154drawingBrush.ViewportUnits = vb.ViewportUnits; 3191db.ViewportUnits = ib.ViewportUnits;
AlphaFlattener\Primitive.cs (1)
1868brush.ViewportUnits = BrushMappingMode.Absolute;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
558visualBrush.ViewportUnits = BrushMappingMode.Absolute;
18 references to ViewportUnits
PresentationCore (4)
System\Windows\Media\Generated\DrawingBrush.cs (1)
207data.ViewportUnits = ViewportUnits;
System\Windows\Media\Generated\ImageBrush.cs (1)
207data.ViewportUnits = ViewportUnits;
System\Windows\Media\Generated\VisualBrush.cs (1)
244data.ViewportUnits = ViewportUnits;
System\Windows\Media\TileBrush.cs (1)
131ViewportUnits,
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
429if (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1194Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1226Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1345newBrush.ViewportUnits = currentBrush.ViewportUnits; 1733Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute); 2700Debug.Assert(tb.ViewportUnits == BrushMappingMode.Absolute, "absolute brush required for BrushProxy"); 3154drawingBrush.ViewportUnits = vb.ViewportUnits; 3191db.ViewportUnits = ib.ViewportUnits;
AlphaFlattener\ImageProxy.cs (1)
170Debug.Assert(opacityBrush.ViewportUnits == BrushMappingMode.Absolute, "TileBrush must have absolute viewport by this point");
AlphaFlattener\Primitive.cs (1)
746Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
AlphaFlattener\Utility.cs (2)
1639if (brush.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1732Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
Serialization\VisualSerializer.cs (2)
422BrushMappingMode mapmode = brush.ViewportUnits; 1728return (tb is VisualBrush) || (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox);