UIElement.BitmapEffect Propiedad

Definición

Precaución

Avoid using BitmapEffects as they have very poor performance characteristics. They will be deprecated in a future version. Consider using the UIElement.Effect property and ShaderEffects where appropriate instead.

Precaución

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.

Obtiene o establece un efecto de mapa de bits que se aplica directamente al contenido representado para este elemento. Es una propiedad de dependencia.

public:
 property System::Windows::Media::Effects::BitmapEffect ^ BitmapEffect { System::Windows::Media::Effects::BitmapEffect ^ get(); void set(System::Windows::Media::Effects::BitmapEffect ^ value); };
[System.Obsolete("Avoid using BitmapEffects as they have very poor performance characteristics.  They will be deprecated in a future version.  Consider using the UIElement.Effect property and ShaderEffects where appropriate instead.")]
public System.Windows.Media.Effects.BitmapEffect BitmapEffect { get; set; }
[System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
public System.Windows.Media.Effects.BitmapEffect BitmapEffect { get; set; }
[<System.Obsolete("Avoid using BitmapEffects as they have very poor performance characteristics.  They will be deprecated in a future version.  Consider using the UIElement.Effect property and ShaderEffects where appropriate instead.")>]
member this.BitmapEffect : System.Windows.Media.Effects.BitmapEffect with get, set
[<System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")>]
member this.BitmapEffect : System.Windows.Media.Effects.BitmapEffect with get, set
Public Property BitmapEffect As BitmapEffect

Valor de propiedad

Efecto de mapa de bits que se va a aplicar.

Atributos

Comentarios

BitmapEffect es un tipo abstracto, por lo que el uso de XAML requiere una clase derivada implementada de BitmapEffect, como OuterGlowBitmapEffect. Tenga en cuenta que una clase derivada implementada es un tipo de colección que permite especificar más de una secuencial BitmapEffectmediante una sintaxis de etiqueta anidada.

Ninguna clase derivada existente de admite un convertidor de BitmapEffect tipos, por lo que la sintaxis XAML que se usa para esta propiedad suele ser sintaxis de elemento de propiedad.

Información de la propiedad dependency

Elemento Value
Campo identificador BitmapEffectProperty
Propiedades de metadatos establecidas en true Ninguno

Se aplica a