9 instantiations of VisualBrush
PresentationCore (2)
System\Windows\Media\Generated\VisualBrush.cs (1)
170return new VisualBrush();
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
417VisualBrush vb = new VisualBrush();
PresentationFramework (6)
System\Windows\Controls\BorderGapMaskConverter.cs (1)
122return (new VisualBrush(grid));
System\Windows\Controls\ComboBox.cs (1)
899VisualBrush visualBrush = new VisualBrush(_clonedElement);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
120VisualBrush visualBrush = new VisualBrush(_referenceHeader);
System\Windows\Controls\GridViewColumnHeader.cs (1)
846VisualBrush visualBrush = new VisualBrush(FloatSourceHeader);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11231bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.VisualBrush(); };
System\Windows\Markup\KnownTypes.cs (1)
1657case KnownElements.VisualBrush: o = new System.Windows.Media.VisualBrush(); break;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
550VisualBrush visualBrush = new VisualBrush(_clonedElement);
41 references to VisualBrush
PresentationCore (15)
System\Windows\Media\Effects\ShaderEffect.cs (1)
425if (newValue is not VisualBrush
System\Windows\Media\Generated\VisualBrush.cs (9)
32public new VisualBrush Clone() 34return (VisualBrush)base.Clone(); 41public new VisualBrush CloneCurrentValue() 43return (VisualBrush)base.CloneCurrentValue(); 59VisualBrush target = ((VisualBrush) d); 113VisualBrush target = ((VisualBrush) d); 406Type typeofThis = typeof(VisualBrush);
System\Windows\Media3D\Viewport2DVisual3D.cs (5)
270VisualBrush.VisualProperty.AddOwner( 285private VisualBrush InternalVisualBrush 415private VisualBrush CreateVisualBrush() 417VisualBrush vb = new VisualBrush(); 925private VisualBrush _visualBrush;
PresentationFramework (16)
System\Windows\Controls\ComboBox.cs (3)
899VisualBrush visualBrush = new VisualBrush(_clonedElement); 967VisualBrush visualBrush = (VisualBrush)rect.Fill;
System\Windows\Controls\DataGridColumnFloatingHeader.cs (5)
44VisualBrush brush = header._visualBrushCanvas.Background as VisualBrush; 71VisualBrush brush = header._visualBrushCanvas.Background as VisualBrush; 120VisualBrush visualBrush = new VisualBrush(_referenceHeader);
System\Windows\Controls\GridViewColumnHeader.cs (1)
846VisualBrush visualBrush = new VisualBrush(FloatSourceHeader);
System\Windows\Generated\FrameworkContentElement.cs (1)
765if ((property == VisualBrush.VisualProperty || property == BitmapCacheBrush.TargetProperty)
System\Windows\Generated\FrameworkElement.cs (1)
797if ((property == VisualBrush.VisualProperty || property == BitmapCacheBrush.TargetProperty)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
829case 735: t = () => typeof(VisualBrush); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11229typeof(System.Windows.Media.VisualBrush),
System\Windows\Markup\KnownTypes.cs (1)
6289case KnownElements.VisualBrush: t = typeof(System.Windows.Media.VisualBrush); break;
System\Windows\ResourceDictionary.cs (2)
2344if (inheritanceContext.ProvideSelfAsInheritanceContext(value, VisualBrush.VisualProperty)) 2389inheritanceContext.RemoveSelfAsInheritanceContext(doValue, VisualBrush.VisualProperty);
ReachFramework (7)
AlphaFlattener\BrushProxy.cs (2)
3059VisualBrush vb = brush as VisualBrush;
AlphaFlattener\Utility.cs (2)
1567VisualBrush visualBrush = brush as VisualBrush;
Serialization\VisualSerializer.cs (3)
792VisualBrush vb = brush as VisualBrush; 1728return (tb is VisualBrush) || (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
550VisualBrush visualBrush = new VisualBrush(_clonedElement); 611VisualBrush visualBrush = (VisualBrush)rect.Fill;