1 write to _imageEffectEmulation
PresentationCore (1)
System\Windows\Media\Effects\DropShadowBitmapEffect.cs (1)
65_imageEffectEmulation = new DropShadowEffect();
23 references to _imageEffectEmulation
PresentationCore (23)
System\Windows\Media\Effects\DropShadowBitmapEffect.cs (23)
58if (_imageEffectEmulation != null && _imageEffectEmulation.IsFrozen) 60return _imageEffectEmulation; 63if (_imageEffectEmulation == null) 69if (_imageEffectEmulation.Color != color) 71_imageEffectEmulation.Color = color; 77if (_imageEffectEmulation.ShadowDepth != shadowDepth) 81_imageEffectEmulation.ShadowDepth = 50.0; 85_imageEffectEmulation.ShadowDepth = 0.0; 89_imageEffectEmulation.ShadowDepth = shadowDepth; 94if (_imageEffectEmulation.Direction != direction) 96_imageEffectEmulation.Direction = direction; 100if (_imageEffectEmulation.Opacity != opacity) 104_imageEffectEmulation.Opacity = 1.0; 108_imageEffectEmulation.Opacity = 0.0; 112_imageEffectEmulation.Opacity = opacity; 117if (_imageEffectEmulation.BlurRadius / _MAX_EMULATED_BLUR_RADIUS != softness) 121_imageEffectEmulation.BlurRadius = _MAX_EMULATED_BLUR_RADIUS; 125_imageEffectEmulation.BlurRadius = 0.0; 129_imageEffectEmulation.BlurRadius = _MAX_EMULATED_BLUR_RADIUS * softness; 133_imageEffectEmulation.RenderingBias = RenderingBias.Performance; 137_imageEffectEmulation.Freeze(); 140return _imageEffectEmulation;