9 instantiations of VisualBrush
PresentationCore (2)
System\Windows\Media\Generated\VisualBrush.cs (1)
197return new VisualBrush();
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
434VisualBrush vb = new VisualBrush();
PresentationFramework (6)
System\Windows\Controls\BorderGapMaskConverter.cs (1)
123return (new VisualBrush(grid));
System\Windows\Controls\ComboBox.cs (1)
909VisualBrush visualBrush = new VisualBrush(_clonedElement);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
124VisualBrush visualBrush = new VisualBrush(_referenceHeader);
System\Windows\Controls\GridViewColumnHeader.cs (1)
850VisualBrush visualBrush = new VisualBrush(FloatSourceHeader);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11233bamlType.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)
552VisualBrush visualBrush = new VisualBrush(_clonedElement);
41 references to VisualBrush
PresentationCore (15)
System\Windows\Media\Effects\ShaderEffect.cs (1)
438if (newValue is not VisualBrush
System\Windows\Media\Generated\VisualBrush.cs (9)
59public new VisualBrush Clone() 61return (VisualBrush)base.Clone(); 68public new VisualBrush CloneCurrentValue() 70return (VisualBrush)base.CloneCurrentValue(); 86VisualBrush target = ((VisualBrush) d); 140VisualBrush target = ((VisualBrush) d); 433Type typeofThis = typeof(VisualBrush);
System\Windows\Media3D\Viewport2DVisual3D.cs (5)
287VisualBrush.VisualProperty.AddOwner( 302private VisualBrush InternalVisualBrush 432private VisualBrush CreateVisualBrush() 434VisualBrush vb = new VisualBrush(); 942private VisualBrush _visualBrush;
PresentationFramework (16)
System\Windows\Controls\ComboBox.cs (3)
909VisualBrush visualBrush = new VisualBrush(_clonedElement); 977VisualBrush visualBrush = (VisualBrush)rect.Fill;
System\Windows\Controls\DataGridColumnFloatingHeader.cs (5)
48VisualBrush brush = header._visualBrushCanvas.Background as VisualBrush; 75VisualBrush brush = header._visualBrushCanvas.Background as VisualBrush; 124VisualBrush visualBrush = new VisualBrush(_referenceHeader);
System\Windows\Controls\GridViewColumnHeader.cs (1)
850VisualBrush visualBrush = new VisualBrush(FloatSourceHeader);
System\Windows\Generated\FrameworkContentElement.cs (1)
771if ((property == VisualBrush.VisualProperty || property == BitmapCacheBrush.TargetProperty)
System\Windows\Generated\FrameworkElement.cs (1)
803if ((property == VisualBrush.VisualProperty || property == BitmapCacheBrush.TargetProperty)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
831case 735: t = () => typeof(VisualBrush); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11231typeof(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)
2354if (inheritanceContext.ProvideSelfAsInheritanceContext(value, VisualBrush.VisualProperty)) 2399inheritanceContext.RemoveSelfAsInheritanceContext(doValue, VisualBrush.VisualProperty);
ReachFramework (7)
AlphaFlattener\BrushProxy.cs (2)
3063VisualBrush vb = brush as VisualBrush;
AlphaFlattener\Utility.cs (2)
1578VisualBrush visualBrush = brush as VisualBrush;
Serialization\VisualSerializer.cs (3)
800VisualBrush vb = brush as VisualBrush; 1736return (tb is VisualBrush) || (tb.ViewportUnits == BrushMappingMode.RelativeToBoundingBox);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
552VisualBrush visualBrush = new VisualBrush(_clonedElement); 613VisualBrush visualBrush = (VisualBrush)rect.Fill;