108 references to BrushMappingMode
PresentationCore (41)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\Generated\wgx_commands.cs (8)
905[FieldOffset(64)] internal BrushMappingMode MappingMode; 925[FieldOffset(80)] internal BrushMappingMode MappingMode; 946[FieldOffset(108)] internal BrushMappingMode ViewportUnits; 947[FieldOffset(112)] internal BrushMappingMode ViewboxUnits; 970[FieldOffset(108)] internal BrushMappingMode ViewportUnits; 971[FieldOffset(112)] internal BrushMappingMode ViewboxUnits; 994[FieldOffset(108)] internal BrushMappingMode ViewportUnits; 995[FieldOffset(112)] internal BrushMappingMode ViewboxUnits;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\BrushMappingModeValidation.cs (4)
35BrushMappingMode value = (BrushMappingMode) valueObject; 37return (value == BrushMappingMode.Absolute) || 38(value == BrushMappingMode.RelativeToBoundingBox);
System\Windows\Media\Effects\Generated\BitmapEffectInput.cs (6)
86public BrushMappingMode AreaToApplyEffectUnits 90return (BrushMappingMode) GetValue(AreaToApplyEffectUnitsProperty); 204internal const BrushMappingMode c_AreaToApplyEffectUnits = BrushMappingMode.RelativeToBoundingBox; 242typeof(BrushMappingMode), 244BrushMappingMode.RelativeToBoundingBox,
System\Windows\Media\Generated\GradientBrush.cs (6)
106public BrushMappingMode MappingMode 110return (BrushMappingMode) GetValue(MappingModeProperty); 249internal const BrushMappingMode c_MappingMode = BrushMappingMode.RelativeToBoundingBox; 288typeof(BrushMappingMode), 290BrushMappingMode.RelativeToBoundingBox,
System\Windows\Media\Generated\TileBrush.cs (12)
138public BrushMappingMode ViewportUnits 142return (BrushMappingMode) GetValue(ViewportUnitsProperty); 153public BrushMappingMode ViewboxUnits 157return (BrushMappingMode) GetValue(ViewboxUnitsProperty); 358internal const BrushMappingMode c_ViewportUnits = BrushMappingMode.RelativeToBoundingBox; 359internal const BrushMappingMode c_ViewboxUnits = BrushMappingMode.RelativeToBoundingBox; 408typeof(BrushMappingMode), 410BrushMappingMode.RelativeToBoundingBox, 417typeof(BrushMappingMode), 419BrushMappingMode.RelativeToBoundingBox,
System\Windows\Media\TileBrush.cs (2)
63BrushMappingMode viewboxUnits = ViewboxUnits; 73if (viewboxUnits == BrushMappingMode.RelativeToBoundingBox)
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (2)
66BrushMappingMode viewPortUnits, 67BrushMappingMode viewBoxUnits,
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
423vb.ViewportUnits = BrushMappingMode.Absolute;
PresentationFramework (9)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
82tileBrush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Controls\ComboBox.cs (2)
903visualBrush.ViewboxUnits = BrushMappingMode.Absolute; 907visualBrush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
122visualBrush.ViewboxUnits = BrushMappingMode.Absolute;
System\Windows\Controls\GridViewColumnHeader.cs (1)
849visualBrush.ViewboxUnits = BrushMappingMode.Absolute;
System\Windows\Documents\SpellerHighlightLayer.cs (1)
166brush.ViewportUnits = BrushMappingMode.Absolute;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7203bamlMember.TypeConverterType = typeof(System.Windows.Media.BrushMappingMode); 7220bamlMember.TypeConverterType = typeof(System.Windows.Media.BrushMappingMode); 7442bamlMember.TypeConverterType = typeof(System.Windows.Media.BrushMappingMode);
PresentationFramework.Aero (7)
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
538brush.MappingMode = BrushMappingMode.Absolute; 573brush.MappingMode = BrushMappingMode.Absolute;
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
71newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1510temp.MappingMode = BrushMappingMode.Absolute; 1538temp.MappingMode = BrushMappingMode.Absolute; 1566temp.MappingMode = BrushMappingMode.Absolute; 1594temp.MappingMode = BrushMappingMode.Absolute;
PresentationFramework.Aero2 (7)
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
538brush.MappingMode = BrushMappingMode.Absolute; 573brush.MappingMode = BrushMappingMode.Absolute;
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
71newBrush.ViewportUnits = newBrush.ViewboxUnits = BrushMappingMode.Absolute;
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1510temp.MappingMode = BrushMappingMode.Absolute; 1538temp.MappingMode = BrushMappingMode.Absolute; 1566temp.MappingMode = BrushMappingMode.Absolute; 1594temp.MappingMode = 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 (38)
AlphaFlattener\BrushProxy.cs (17)
429if (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 445tb.ViewportUnits = BrushMappingMode.Absolute; 451if (tb.ViewboxUnits == BrushMappingMode.RelativeToBoundingBox) 469tb.ViewboxUnits = BrushMappingMode.Absolute; 480if (lb.MappingMode == BrushMappingMode.RelativeToBoundingBox) 491lb.MappingMode = BrushMappingMode.Absolute; 501if (rb.MappingMode == BrushMappingMode.RelativeToBoundingBox) 515rb.MappingMode = BrushMappingMode.Absolute; 1194Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1226Debug.Assert(tileBrush.ViewportUnits == BrushMappingMode.Absolute); 1415brush.ViewboxUnits = BrushMappingMode.Absolute; 1426brush.ViewportUnits = BrushMappingMode.Absolute; 1732Debug.Assert(brush.ViewboxUnits == BrushMappingMode.Absolute); 1733Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute); 2368ibnew.ViewboxUnits = BrushMappingMode.RelativeToBoundingBox; 2692Debug.Assert(gb.MappingMode == BrushMappingMode.Absolute, "absolute brush"); 2700Debug.Assert(tb.ViewportUnits == BrushMappingMode.Absolute, "absolute brush required for BrushProxy");
AlphaFlattener\ImageProxy.cs (1)
170Debug.Assert(opacityBrush.ViewportUnits == BrushMappingMode.Absolute, "TileBrush must have absolute viewport by this point");
AlphaFlattener\Primitive.cs (4)
746Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute); 1383Debug.Assert(tb.ViewboxUnits == BrushMappingMode.Absolute, "Absolute Viewbox expected"); 1417tb.ViewboxUnits = BrushMappingMode.Absolute; 1868brush.ViewportUnits = BrushMappingMode.Absolute;
AlphaFlattener\Utility.cs (4)
1611if (brush.ViewboxUnits == BrushMappingMode.RelativeToBoundingBox) 1639if (brush.ViewportUnits == BrushMappingMode.RelativeToBoundingBox) 1731Debug.Assert(brush.ViewboxUnits == BrushMappingMode.Absolute); 1732Debug.Assert(brush.ViewportUnits == BrushMappingMode.Absolute);
Serialization\VisualSerializer.cs (12)
422BrushMappingMode mapmode = brush.ViewportUnits; 424if (mapmode == BrushMappingMode.Absolute) 429mapmode = BrushMappingMode.Absolute; 529WriteAttr("ViewboxUnits", BrushMappingMode.Absolute); 705BrushMappingMode mapmode = lb.MappingMode; 707if (mapmode == BrushMappingMode.Absolute) 712mapmode = BrushMappingMode.Absolute; 734BrushMappingMode mapmode = rb.MappingMode; 736if (mapmode == BrushMappingMode.Absolute) 741mapmode = BrushMappingMode.Absolute; 1728return (tb is VisualBrush) || (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox); 1735return gb.MappingMode == BrushMappingMode.RelativeToBoundingBox;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
554visualBrush.ViewboxUnits = BrushMappingMode.Absolute; 558visualBrush.ViewportUnits = BrushMappingMode.Absolute;