BitmapEffect Property

UIElement.BitmapEffect Property

Note: This API is now obsolete.

Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a .GTMT

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

[ObsoleteAttribute("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
public BitmapEffect BitmapEffect { get; set; }

Property Value

Type: System.Windows.Media.Effects.BitmapEffect

The bitmap effect to apply.

BitmapEffect is an abstract type, therefore the XAML usage requires an implemented derived class of BitmapEffect, such as OuterGlowBitmapEffect. Note that one implemented derived class is a collection type that allows you to specify more than one sequential BitmapEffect, using a nested tag syntax.

No existing derived class of BitmapEffect supports a type converter, so the XAML syntax that you use for this property is generally property element syntax.

Identifier field


Metadata properties set to true


The following example sets a bitmap effect, using BlurBitmapEffect.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft