UIElement.BitmapEffect Proprietà

Definizione

Attenzione

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.

Attenzione

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

Ottiene o imposta un effetto bitmap che si applica direttamente al contenuto di cui è stato eseguito il rendering per questo elemento. Si tratta di una proprietà di dipendenza.

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

Valore della proprietà

Effetto bitmap da applicare.

Attributi

Commenti

BitmapEffect è un tipo astratto, pertanto l'utilizzo xaml richiede una classe derivata implementata di BitmapEffect, ad esempio OuterGlowBitmapEffect. Si noti che una classe derivata implementata è un tipo di raccolta che consente di specificare più di un oggetto sequenziale BitmapEffectusando una sintassi di tag annidata.

Nessuna classe derivata esistente di supporta un convertitore di BitmapEffect tipi, quindi la sintassi XAML usata per questa proprietà è in genere la sintassi degli elementi di proprietà.

Informazioni sulle proprietà di dipendenza

Item Value
Campo Identificatore BitmapEffectProperty
Proprietà dei metadati impostate su true Nessuno

Si applica a