UIElement.BitmapEffect Eigenschap

Definitie

Let op

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.

Let op

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

Hiermee wordt een bitmapeffect opgehaald of ingesteld dat rechtstreeks van toepassing is op de weergegeven inhoud voor dit element. Dit is een afhankelijkheidseigenschap.

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

Waarde van eigenschap

Het bitmapeffect dat moet worden toegepast.

Kenmerken

Opmerkingen

BitmapEffect is een abstract type, daarom vereist het XAML-gebruik een geïmplementeerde afgeleide klasse van BitmapEffect, zoals OuterGlowBitmapEffect. Houd er rekening mee dat één geïmplementeerde afgeleide klasse een verzamelingstype is waarmee u meer dan één opeenvolgende BitmapEffectcode kunt opgeven met behulp van een geneste tagsyntaxis.

Geen bestaande afgeleide klasse van BitmapEffect ondersteunt een typeconversieprogramma, dus de XAML-syntaxis die u voor deze eigenschap gebruikt, is doorgaans syntaxis van het eigenschapselement.

Informatie over afhankelijkheidseigenschappen

Item Waarde
Id-veld BitmapEffectProperty
Eigenschappen van metagegevens ingesteld op true Geen

Van toepassing op