UIElement.BitmapEffect Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
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.
Attention
BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.
Obtient ou définit un effet bitmap qui s’applique directement au contenu rendu de cet élément. Il s’agit d’une propriété de dépendance.
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
Valeur de propriété
Effet bitmap à appliquer.
- Attributs
Remarques
BitmapEffect est un type abstrait, par conséquent, l’utilisation XAML nécessite une classe dérivée implémentée de BitmapEffect, par OuterGlowBitmapEffectexemple . Notez qu’une classe dérivée implémentée est un type de collection qui vous permet de spécifier plusieurs séquences BitmapEffect, à l’aide d’une syntaxe d’étiquette imbriquée.
Aucune classe dérivée existante de BitmapEffect prend en charge un convertisseur de type, de sorte que la syntaxe XAML que vous utilisez pour cette propriété est généralement la syntaxe d’élément de propriété.
Informations sur les propriétés de dépendance
| Élément | Valeur |
|---|---|
| Champ d’identificateur | BitmapEffectProperty |
Propriétés de métadonnées définies sur true |
None |