UIElement.BitmapEffect Eigenschaft

Definition

Achtung

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.

Achtung

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

Dient zum Abrufen oder Festlegen eines Bitmapeffekts, der direkt auf den gerenderten Inhalt für dieses Element angewendet wird. Hierbei handelt es sich um eine Abhängigkeitseigenschaft.

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

Eigenschaftswert

Der anzuwendende Bitmapeffekt.

Attribute

Hinweise

BitmapEffect ist ein abstrakter Typ, daher erfordert die XAML-Verwendung eine implementierte abgeleitete Klasse von BitmapEffect, z OuterGlowBitmapEffect. B. . . Beachten Sie, dass es sich bei einer implementierten abgeleiteten Klasse um einen Sammlungstyp handelt, mit dem Sie mehrere sequenzielle BitmapEffectElemente mithilfe einer geschachtelten Tagsyntax angeben können.

Keine vorhandene abgeleitete Klasse unterstützt BitmapEffect einen Typkonverter, daher ist die XAML-Syntax, die Sie für diese Eigenschaft verwenden, im Allgemeinen Eigenschaftselementsyntax.

Informationen zur Abhängigkeitseigenschaft

Element Wert
Bezeichnerfeld BitmapEffectProperty
Auf Metadateneigenschaften festgelegt true Nichts

Gilt für: