17 writes to ViewportUnits
PresentationCore (1)
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
424ViewportUnits = BrushMappingMode.Absolute,
PresentationFramework (3)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
81ViewportUnits = BrushMappingMode.Absolute
System\Windows\Controls\ComboBox.cs (1)
899ViewportUnits = BrushMappingMode.Absolute,
System\Windows\Documents\SpellerHighlightLayer.cs (1)
166ViewportUnits = BrushMappingMode.Absolute
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
70newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
70newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
65newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
65newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
65newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
65newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (5)
445tb.ViewportUnits = BrushMappingMode.Absolute; 1342newBrush.ViewportUnits = currentBrush.ViewportUnits; 1423brush.ViewportUnits = BrushMappingMode.Absolute; 3156drawingBrush.ViewportUnits = vb.ViewportUnits; 3193db.ViewportUnits = ib.ViewportUnits;
AlphaFlattener\Primitive.cs (1)
1872ViewportUnits = BrushMappingMode.Absolute,
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
557ViewportUnits = BrushMappingMode.Absolute,
18 references to ViewportUnits
PresentationCore (4)
System\Windows\Media\Generated\DrawingBrush.cs (1)
221data.ViewportUnits = ViewportUnits;
System\Windows\Media\Generated\ImageBrush.cs (1)
221data.ViewportUnits = ViewportUnits;
System\Windows\Media\Generated\VisualBrush.cs (1)
253data.ViewportUnits = ViewportUnits;
System\Windows\Media\TileBrush.cs (1)
130ViewportUnits,
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
429if (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1191Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1223Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1342newBrush.ViewportUnits = currentBrush.ViewportUnits; 1731Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute); 2699Debug.Assert(tb.ViewportUnits == BrushMappingMode.Absolute, "absolute brush required for BrushProxy"); 3156drawingBrush.ViewportUnits = vb.ViewportUnits; 3193db.ViewportUnits = ib.ViewportUnits;
AlphaFlattener\ImageProxy.cs (1)
169Debug.Assert(opacityBrush.ViewportUnits == BrushMappingMode.Absolute, "TileBrush must have absolute viewport by this point");
AlphaFlattener\Primitive.cs (1)
749Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
AlphaFlattener\Utility.cs (2)
1639if (brush.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1732Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
Serialization\VisualSerializer.cs (2)
421BrushMappingMode mapmode = brush.ViewportUnits; 1728return (tb is VisualBrush) || (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox);